platform/upstream/gstreamer.git
13 years agofix for audio clock change
Wim Taymans [Thu, 10 Nov 2011 12:50:34 +0000 (13:50 +0100)]
fix for audio clock change

13 years agoupdate for removed fixate function
Wim Taymans [Thu, 10 Nov 2011 10:03:18 +0000 (11:03 +0100)]
update for removed fixate function

13 years agoMerge branch 'master' into 0.11
Wim Taymans [Wed, 9 Nov 2011 16:40:10 +0000 (17:40 +0100)]
Merge branch 'master' into 0.11

13 years agoupdates for new acceptcaps query
Wim Taymans [Wed, 9 Nov 2011 16:38:03 +0000 (17:38 +0100)]
updates for new acceptcaps query

13 years agoavidemux: fix wrong stride when inverting uncompressed video
Vincent Penquerc'h [Tue, 8 Nov 2011 15:35:26 +0000 (15:35 +0000)]
avidemux: fix wrong stride when inverting uncompressed video

Such frames have a stride multiple of 4, see
http://lscube.org/pipermail/ffmpeg-issues/2010-April/010247.html.

This showed up on a sample using a odd width of 24 bit video.

https://bugzilla.gnome.org/show_bug.cgi?id=652288

13 years agoh263ppay: report to 0.11
Wim Taymans [Wed, 9 Nov 2011 11:25:01 +0000 (12:25 +0100)]
h263ppay: report to 0.11

13 years agoMerge branch 'master' into 0.11
Wim Taymans [Wed, 9 Nov 2011 11:18:01 +0000 (12:18 +0100)]
Merge branch 'master' into 0.11

Conflicts:
ext/flac/gstflacdec.c
gst/audioparsers/gstflacparse.c
gst/isomp4/qtdemux.c

13 years agoremove query types
Wim Taymans [Wed, 9 Nov 2011 10:53:01 +0000 (11:53 +0100)]
remove query types

13 years agoqtdemux: minimal sanity check on creation datetime
Mark Nauwelaerts [Wed, 9 Nov 2011 09:32:06 +0000 (10:32 +0100)]
qtdemux: minimal sanity check on creation datetime

13 years agortph263ppay: Return the sink pad template as sink caps, not the src's
Olivier Crête [Wed, 2 Nov 2011 16:58:12 +0000 (12:58 -0400)]
rtph263ppay: Return the sink pad template as sink caps, not the src's

https://bugzilla.gnome.org/show_bug.cgi?id=577784

13 years agortph263ppay: Also implement size/framerate restrictions in getcaps
Olivier Crête [Sun, 15 Mar 2009 23:26:48 +0000 (19:26 -0400)]
rtph263ppay: Also implement size/framerate restrictions in getcaps

https://bugzilla.gnome.org/show_bug.cgi?id=577784

13 years agortph263ppay: Implement getcaps following RFC 4629, picks the right annexes
Olivier Crête [Thu, 5 Mar 2009 01:50:19 +0000 (20:50 -0500)]
rtph263ppay: Implement getcaps following RFC 4629, picks the right annexes

https://bugzilla.gnome.org/show_bug.cgi?id=577784

13 years agoqtdemux: also set segment stop at startup rather than only post seek
Mark Nauwelaerts [Tue, 8 Nov 2011 13:31:34 +0000 (14:31 +0100)]
qtdemux: also set segment stop at startup rather than only post seek

... so as to ensure consistent playback with or without seek, especially
in presence of some bogus edit list entries.

13 years agoupdate for probe api changes
Wim Taymans [Tue, 8 Nov 2011 10:18:06 +0000 (11:18 +0100)]
update for probe api changes

13 years agogoom: code cleanups
Stefan Sauer [Tue, 8 Nov 2011 07:50:19 +0000 (08:50 +0100)]
goom: code cleanups

Move variables to the scope where they are needed. Use our macros and functions
more.

13 years agogoom: add a sink_query to eat allocation queries
Stefan Sauer [Tue, 8 Nov 2011 07:49:05 +0000 (08:49 +0100)]
goom: add a sink_query to eat allocation queries

We should not forward allocation queries for audio to the video sink.

13 years agogst/flv/: add amfdefs.h to noinst_HEADERS
Raul Gutierrez Segales [Wed, 2 Nov 2011 17:02:54 +0000 (17:02 +0000)]
gst/flv/: add amfdefs.h to noinst_HEADERS

https://bugzilla.gnome.org/show_bug.cgi?id=663334

13 years agofix for probe updates
Wim Taymans [Mon, 7 Nov 2011 16:14:17 +0000 (17:14 +0100)]
fix for probe updates

13 years agoflvdemux: detect large pts gaps and resync
Vincent Penquerc'h [Mon, 3 Oct 2011 16:50:43 +0000 (17:50 +0100)]
flvdemux: detect large pts gaps and resync

Should work on multiple gaps, but tested on only one.

https://bugzilla.gnome.org/show_bug.cgi?id=631430

13 years agoflacdec: fix off by one between granpos and last_stop
Vincent Penquerc'h [Mon, 22 Aug 2011 09:40:45 +0000 (10:40 +0100)]
flacdec: fix off by one between granpos and last_stop

13 years agoflacparse: fix last frame timestamp in fixed block size mode
Vincent Penquerc'h [Fri, 7 Oct 2011 18:41:35 +0000 (19:41 +0100)]
flacparse: fix last frame timestamp in fixed block size mode

The last block may have a different block size, so we should not
use it to scale or we'll end up with a wrong timestamp.
See comment and quote from the FLAC format documentation in the code.

Fixes looped playback of FLAC files (via about-to-finish).

https://bugzilla.gnome.org/show_bug.cgi?id=661215

13 years agocairotextoverlay: add a 'silent' property to skip rendering
Vincent Penquerc'h [Thu, 27 Oct 2011 14:52:47 +0000 (15:52 +0100)]
cairotextoverlay: add a 'silent' property to skip rendering

https://bugzilla.gnome.org/show_bug.cgi?id=662856

13 years agomatroskamux: fix regression causing malformed files
René Stadler [Mon, 7 Nov 2011 11:00:12 +0000 (12:00 +0100)]
matroskamux: fix regression causing malformed files

This was caused by me in 1b213d. It seems I was too focused on 0.11 when I did
this and tested the wrong branch.

The problem was reported by Alexey Fisher.

13 years agocontroller: port to new controller location and api
Stefan Sauer [Fri, 4 Nov 2011 17:41:36 +0000 (18:41 +0100)]
controller: port to new controller location and api

13 years agomore template fixes
Wim Taymans [Fri, 4 Nov 2011 16:39:15 +0000 (17:39 +0100)]
more template fixes

13 years agopulseaudiosink: more 0.11 fixing
Wim Taymans [Fri, 4 Nov 2011 15:21:13 +0000 (16:21 +0100)]
pulseaudiosink: more 0.11 fixing

Make sure the caps event gets to the sink.

13 years agopulseaudiosink: port some more
Wim Taymans [Fri, 4 Nov 2011 14:35:42 +0000 (15:35 +0100)]
pulseaudiosink: port some more

Rename decodebin2 -> decodebin some more
Cleanup up sinkpad event handling

13 years agopulseaudiosink: port some more to 0.11
Wim Taymans [Fri, 4 Nov 2011 12:56:06 +0000 (13:56 +0100)]
pulseaudiosink: port some more to 0.11

We must not forward the caps event. instead we will decide what to do when the
pad block is taken.
Use decodebin instead of decodebin2

13 years agomore template fixes
Wim Taymans [Fri, 4 Nov 2011 12:12:37 +0000 (13:12 +0100)]
more template fixes

13 years agomake %u in all request pad templates
Wim Taymans [Fri, 4 Nov 2011 10:58:22 +0000 (11:58 +0100)]
make %u in all request pad templates

13 years agoMerge branch 'master' into 0.11
Wim Taymans [Fri, 4 Nov 2011 10:01:01 +0000 (11:01 +0100)]
Merge branch 'master' into 0.11

Conflicts:
gst/rtp/gstrtpvrawdepay.c

13 years agoPort apedemux
Edward Hervey [Fri, 4 Nov 2011 09:32:46 +0000 (10:32 +0100)]
Port apedemux

13 years agortp: use GLib's G_BIG_ENDIAN define instead of BIG_ENDIAN
Tim-Philipp Müller [Thu, 3 Nov 2011 23:28:31 +0000 (23:28 +0000)]
rtp: use GLib's G_BIG_ENDIAN define instead of BIG_ENDIAN

Fixes compiler warning on mingw32

13 years agoupdate for new net library
Wim Taymans [Thu, 3 Nov 2011 15:43:00 +0000 (16:43 +0100)]
update for new net library

13 years agotags: update for tag API removal
Wim Taymans [Wed, 2 Nov 2011 11:09:20 +0000 (12:09 +0100)]
tags: update for tag API removal

13 years agoMerge branch 'master' into 0.11
Wim Taymans [Wed, 2 Nov 2011 09:40:12 +0000 (10:40 +0100)]
Merge branch 'master' into 0.11

13 years agoupdate for netbuffer api change
Wim Taymans [Mon, 31 Oct 2011 01:40:08 +0000 (02:40 +0100)]
update for netbuffer api change

13 years agoupdate for netaddress change
Wim Taymans [Mon, 31 Oct 2011 01:35:51 +0000 (02:35 +0100)]
update for netaddress change

13 years agoupdate for meta api change
Wim Taymans [Mon, 31 Oct 2011 01:24:04 +0000 (02:24 +0100)]
update for meta api change

13 years agoupdate for new task api
Wim Taymans [Sat, 29 Oct 2011 07:29:27 +0000 (09:29 +0200)]
update for new task api

13 years agostructure: fix for api update
Wim Taymans [Sat, 29 Oct 2011 07:09:45 +0000 (09:09 +0200)]
structure: fix for api update

13 years agobufferlist: update for new API
Wim Taymans [Sat, 29 Oct 2011 06:25:27 +0000 (08:25 +0200)]
bufferlist: update for new API

13 years agoUpdate for pad API changes
Tim-Philipp Müller [Tue, 1 Nov 2011 00:40:40 +0000 (00:40 +0000)]
Update for pad API changes

GstProbeType, GstProbeReturn and GstActivateMode -> GstPad*

13 years agoac3parse: fix obvious crash
René Stadler [Mon, 31 Oct 2011 17:38:55 +0000 (18:38 +0100)]
ac3parse: fix obvious crash

13 years agoqtmux: avoid shortcut evaluation when adding paired mp4 tag
Mark Nauwelaerts [Mon, 31 Oct 2011 15:18:32 +0000 (16:18 +0100)]
qtmux: avoid shortcut evaluation when adding paired mp4 tag

Fixes (part of) #638711.

13 years agomatroskamux: do not use unoffical V_MJPEG codec id
Mark Nauwelaerts [Mon, 31 Oct 2011 14:43:25 +0000 (15:43 +0100)]
matroskamux: do not use unoffical V_MJPEG codec id

... but as not spec'ed especially, consider it a VfW compatibility case.

Fixes #659837.

13 years agoflacenc: remove dead code from header
Tim-Philipp Müller [Sun, 30 Oct 2011 19:30:14 +0000 (19:30 +0000)]
flacenc: remove dead code from header

We require a new-enough libflac that this condition will never apply.

13 years agoflacdec: parse stream headers from caps in set_format function
Tim-Philipp Müller [Sun, 30 Oct 2011 19:09:03 +0000 (19:09 +0000)]
flacdec: parse stream headers from caps in set_format function

Not that this seems to be actually needed, libflac happily decodes
stuff even if we just drop all headers and never feed it to the
library.

13 years agoflacdec: don't extract metadata, leave that to the parser or container
Tim-Philipp Müller [Sun, 30 Oct 2011 18:49:21 +0000 (18:49 +0000)]
flacdec: don't extract metadata, leave that to the parser or container

13 years agoflacdec: we expect framed input now, remove some more code
Tim-Philipp Müller [Sun, 30 Oct 2011 18:45:45 +0000 (18:45 +0000)]
flacdec: we expect framed input now, remove some more code

13 years agoflacdec: naive port to GstAudioDecoder
Tim-Philipp Müller [Sun, 9 Oct 2011 15:18:09 +0000 (16:18 +0100)]
flacdec: naive port to GstAudioDecoder

This would probably have been too invasive to do in the 0.10
branch, with all the pull-mode and parser handling code in
there.

13 years agoext, gst: update for taglist API changes
Tim-Philipp Müller [Sun, 30 Oct 2011 11:44:53 +0000 (11:44 +0000)]
ext, gst: update for taglist API changes

13 years agotests: fix compilation of audio tests in uninstalled setup
Tim-Philipp Müller [Sun, 30 Oct 2011 11:41:32 +0000 (11:41 +0000)]
tests: fix compilation of audio tests in uninstalled setup

13 years agoaudiopanorama: simplify get_unit_size
René Stadler [Fri, 28 Oct 2011 19:26:33 +0000 (21:26 +0200)]
audiopanorama: simplify get_unit_size

13 years agotests: audioecho: port to 0.11
René Stadler [Fri, 28 Oct 2011 19:19:42 +0000 (21:19 +0200)]
tests: audioecho: port to 0.11

13 years agoaudioecho: fix internal buffer size calculation
René Stadler [Fri, 28 Oct 2011 19:18:33 +0000 (21:18 +0200)]
audioecho: fix internal buffer size calculation

13 years agotests: audiochebband: port to 0.11
René Stadler [Fri, 28 Oct 2011 12:05:48 +0000 (14:05 +0200)]
tests: audiochebband: port to 0.11

13 years agoMerge branch 'master' into 0.11
Wim Taymans [Fri, 28 Oct 2011 14:52:08 +0000 (16:52 +0200)]
Merge branch 'master' into 0.11

13 years agopulseaudiosink: fix porting errors
Wim Taymans [Fri, 28 Oct 2011 13:08:25 +0000 (15:08 +0200)]
pulseaudiosink: fix porting errors

The probes were ported wrongly and caused deadlocks.

13 years agojpegdec: add sof-marker to template caps, so we don't get plugged for lossless jpeg
Tim-Philipp Müller [Fri, 28 Oct 2011 08:57:36 +0000 (09:57 +0100)]
jpegdec: add sof-marker to template caps, so we don't get plugged for lossless jpeg

jpegdec (using libjpeg 6.2/8) can't decode some lossless types of JPEG.

https://bugzilla.gnome.org/show_bug.cgi?id=556648

13 years agotests: audiocheblimit: port to 0.11
René Stadler [Fri, 28 Oct 2011 11:06:20 +0000 (13:06 +0200)]
tests: audiocheblimit: port to 0.11

13 years agoaudiofx: fix crash in process()
René Stadler [Fri, 28 Oct 2011 11:02:56 +0000 (13:02 +0200)]
audiofx: fix crash in process()

13 years agotests: audioamplify: port to 0.11
René Stadler [Fri, 28 Oct 2011 09:48:31 +0000 (11:48 +0200)]
tests: audioamplify: port to 0.11

13 years agopulse: fix check for empty caps
Wim Taymans [Fri, 28 Oct 2011 10:51:31 +0000 (12:51 +0200)]
pulse: fix check for empty caps

13 years agoqtdemux: elaborate some debug statements
Mark Nauwelaerts [Fri, 28 Oct 2011 10:30:33 +0000 (12:30 +0200)]
qtdemux: elaborate some debug statements

13 years agoflvdemux: be careful with negative cts
Stas Sergeev [Tue, 11 Oct 2011 16:56:51 +0000 (20:56 +0400)]
flvdemux: be careful with negative cts

Fixes #661477.

13 years agomatroskademux: tune non-update seek handling cases
Mark Nauwelaerts [Thu, 6 Oct 2011 11:04:54 +0000 (13:04 +0200)]
matroskademux: tune non-update seek handling cases

Fixes #661049.

13 years agoMerge branch 'master' into 0.11
Wim Taymans [Fri, 28 Oct 2011 09:46:40 +0000 (11:46 +0200)]
Merge branch 'master' into 0.11

Conflicts:
gst/videomixer/gstcollectpads2.c

13 years agoaudiodynamic: don't set process function too early
René Stadler [Fri, 28 Oct 2011 09:16:38 +0000 (11:16 +0200)]
audiodynamic: don't set process function too early

GstAudioInfo and GstAudioFilter have been changed so that this code doesn't
crash anymore when a property is set in NULL state.

13 years agotests: audiodynamic: port to 0.11
René Stadler [Fri, 28 Oct 2011 08:42:04 +0000 (10:42 +0200)]
tests: audiodynamic: port to 0.11

13 years agotests: spectrum: port to 0.11
René Stadler [Thu, 27 Oct 2011 22:24:14 +0000 (00:24 +0200)]
tests: spectrum: port to 0.11

13 years agotests: audiopanorama: port to 0.11
René Stadler [Thu, 27 Oct 2011 21:57:17 +0000 (23:57 +0200)]
tests: audiopanorama: port to 0.11

13 years agoaudiopanorama: fix get_unit_size
René Stadler [Thu, 27 Oct 2011 21:56:12 +0000 (23:56 +0200)]
audiopanorama: fix get_unit_size

13 years agovideomixer2: Use the clip function instead of the prepare_buffer function
Sebastian Dröge [Fri, 28 Oct 2011 08:40:36 +0000 (10:40 +0200)]
videomixer2: Use the clip function instead of the prepare_buffer function

13 years agortpmanager, v4l2: fix compiler warnings after gst_caps_new_simple() change
Tim-Philipp Müller [Fri, 28 Oct 2011 08:05:27 +0000 (09:05 +0100)]
rtpmanager, v4l2: fix compiler warnings after gst_caps_new_simple() change

13 years agoqtdemux: fix compiler warnings after gst_caps_new_simple() change
Tim-Philipp Müller [Fri, 28 Oct 2011 08:01:57 +0000 (09:01 +0100)]
qtdemux: fix compiler warnings after gst_caps_new_simple() change

13 years agovideomixer2: Use collectpads2 from core
Sebastian Dröge [Fri, 28 Oct 2011 07:36:17 +0000 (09:36 +0200)]
videomixer2: Use collectpads2 from core

13 years agowavenc: port to 0.11 raw audio caps
René Stadler [Thu, 27 Oct 2011 17:39:20 +0000 (19:39 +0200)]
wavenc: port to 0.11 raw audio caps

13 years agoMerge branch 'master' into 0.11
Wim Taymans [Thu, 27 Oct 2011 17:06:06 +0000 (19:06 +0200)]
Merge branch 'master' into 0.11

Conflicts:
gst/flv/gstflvmux.c

13 years agomake some more things compile again
Wim Taymans [Thu, 27 Oct 2011 17:00:52 +0000 (19:00 +0200)]
make some more things compile again

13 years agoMerge branch 'master' into 0.11
Wim Taymans [Thu, 27 Oct 2011 14:08:22 +0000 (16:08 +0200)]
Merge branch 'master' into 0.11

Conflicts:
ext/pulse/pulseaudiosink.c
ext/pulse/pulsesink.c

13 years agofix compilation
Wim Taymans [Thu, 27 Oct 2011 14:03:17 +0000 (16:03 +0200)]
fix compilation

13 years agodeinterlace: Don't pointlessly hold object lock over caps operations
Jan Schmidt [Thu, 27 Oct 2011 13:41:45 +0000 (00:41 +1100)]
deinterlace: Don't pointlessly hold object lock over caps operations

Avoids a deadlock when getcaps is recursive due to the getcaps being
reflected upstream/downstream. The lock isn't actually protecting
anything here.

13 years agoflvmux: add some comments and defines to clarify code.
Jan Schmidt [Wed, 26 Oct 2011 13:37:03 +0000 (00:37 +1100)]
flvmux: add some comments and defines to clarify code.

13 years agomatroska: refactor ebml-write to be more 0.11 friendly
René Stadler [Mon, 10 Oct 2011 13:36:14 +0000 (15:36 +0200)]
matroska: refactor ebml-write to be more 0.11 friendly

Switching to a more 0.11-friendly pattern, where getting the buffer's data
pointer and setting the size many times is less natural. This is of course in
preparation to the upcoming port of the plugin.

13 years agomatroska: remove stale floatcast include
René Stadler [Tue, 11 Oct 2011 19:45:46 +0000 (21:45 +0200)]
matroska: remove stale floatcast include

GDOUBLE_TO_BE was moved to core a long time ago.

13 years agomatroskamux: fix possible crash with malformed dirac codec_data
René Stadler [Tue, 11 Oct 2011 20:10:27 +0000 (22:10 +0200)]
matroskamux: fix possible crash with malformed dirac codec_data

Since size is unsigned, we need to safeguard against wrapping below zero.

13 years agoequalizer: remove avoidable call to gst_object_set_name
René Stadler [Fri, 21 Oct 2011 20:33:34 +0000 (22:33 +0200)]
equalizer: remove avoidable call to gst_object_set_name

13 years agodeinterlace: remove avoidable call to gst_object_set_name
René Stadler [Fri, 21 Oct 2011 20:32:38 +0000 (22:32 +0200)]
deinterlace: remove avoidable call to gst_object_set_name

13 years agointerfaces: clean up the use of iface and class/klass
Stefan Sauer [Fri, 21 Oct 2011 12:51:23 +0000 (14:51 +0200)]
interfaces: clean up the use of iface and class/klass

13 years agoUpdate spec file so its paralel-installable and only tries to package ported plugins
Christian Fredrik Kalager Schaller [Fri, 21 Oct 2011 10:37:05 +0000 (11:37 +0100)]
Update spec file so its paralel-installable and only tries to package ported plugins

13 years agopngenc: increase arbitrary resolution limits
René Stadler [Sun, 16 Oct 2011 18:30:25 +0000 (20:30 +0200)]
pngenc: increase arbitrary resolution limits

Apparently libpng can technically do up to 2^31-1 rows and columns. However it
imposes an (arbitrary) default limit of 1 million (that could theoretically be
lifted by using some additional API).

Moved array allocation to the heap now.

13 years agopngenc: don't unconditionally allocate 4096 pointers on the stack
René Stadler [Sun, 16 Oct 2011 18:25:41 +0000 (20:25 +0200)]
pngenc: don't unconditionally allocate 4096 pointers on the stack

Instead allocate as many as needed (on the stack still).

13 years agopngenc: ensure setcaps was called before chain function
René Stadler [Sun, 16 Oct 2011 18:05:28 +0000 (20:05 +0200)]
pngenc: ensure setcaps was called before chain function

This is needed to properly error out for e.g. "fakesrc ! pngenc ! fakesink".

13 years agopngenc: validate input buffer size
René Stadler [Sun, 16 Oct 2011 17:44:27 +0000 (19:44 +0200)]
pngenc: validate input buffer size

Just for safety; of course such mismatch represents a bug in another element.

13 years agopngenc: make setcaps more robust, use gstvideo functions
René Stadler [Sun, 16 Oct 2011 17:41:28 +0000 (19:41 +0200)]
pngenc: make setcaps more robust, use gstvideo functions

A setcaps function needs to actually verify the caps carefully. In this case,
it was possible to e.g. link a video decoder with YUV+RGB template caps to
pngenc.  That would cause a crash when the decoder pushes a YUV buffer. Same
thing when pushing a valid buffer that exceeds the resolution limits.

Also, missing framerate caps field would cause a glib critical warning due to
invalid GValue. This fails hard now.

13 years agoebml: small correction to previous commit
René Stadler [Fri, 21 Oct 2011 08:01:43 +0000 (10:01 +0200)]
ebml: small correction to previous commit

Signal a short read with UNEXPECTED, exactly like the peek_bytes function.

13 years agoebml: Fix push-based behaviour
Edward Hervey [Wed, 19 Oct 2011 11:09:51 +0000 (13:09 +0200)]
ebml: Fix push-based behaviour

The 'peek' method was completely wrong (!?)

13 years agopulse: Get caps correctly on pad block
Arun Raghavan [Tue, 18 Oct 2011 13:01:17 +0000 (18:31 +0530)]
pulse: Get caps correctly on pad block

Instead of always going upstream, we should first see if already got
caps from a setcaps() call.

https://bugzilla.gnome.org/show_bug.cgi?id=661262

13 years agowavpackenc: don't unref buffer with gst_object_unref()
Tim-Philipp Müller [Tue, 18 Oct 2011 11:25:14 +0000 (12:25 +0100)]
wavpackenc: don't unref buffer with gst_object_unref()