Wim Taymans [Fri, 28 Oct 2011 14:52:08 +0000 (16:52 +0200)]
Merge branch 'master' into 0.11
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.
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
René Stadler [Fri, 28 Oct 2011 11:06:20 +0000 (13:06 +0200)]
tests: audiocheblimit: port to 0.11
René Stadler [Fri, 28 Oct 2011 11:02:56 +0000 (13:02 +0200)]
audiofx: fix crash in process()
René Stadler [Fri, 28 Oct 2011 09:48:31 +0000 (11:48 +0200)]
tests: audioamplify: port to 0.11
Wim Taymans [Fri, 28 Oct 2011 10:51:31 +0000 (12:51 +0200)]
pulse: fix check for empty caps
Mark Nauwelaerts [Fri, 28 Oct 2011 10:30:33 +0000 (12:30 +0200)]
qtdemux: elaborate some debug statements
Stas Sergeev [Tue, 11 Oct 2011 16:56:51 +0000 (20:56 +0400)]
flvdemux: be careful with negative cts
Fixes #661477.
Mark Nauwelaerts [Thu, 6 Oct 2011 11:04:54 +0000 (13:04 +0200)]
matroskademux: tune non-update seek handling cases
Fixes #661049.
Wim Taymans [Fri, 28 Oct 2011 09:46:40 +0000 (11:46 +0200)]
Merge branch 'master' into 0.11
Conflicts:
gst/videomixer/gstcollectpads2.c
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.
René Stadler [Fri, 28 Oct 2011 08:42:04 +0000 (10:42 +0200)]
tests: audiodynamic: port to 0.11
René Stadler [Thu, 27 Oct 2011 22:24:14 +0000 (00:24 +0200)]
tests: spectrum: port to 0.11
René Stadler [Thu, 27 Oct 2011 21:57:17 +0000 (23:57 +0200)]
tests: audiopanorama: port to 0.11
René Stadler [Thu, 27 Oct 2011 21:56:12 +0000 (23:56 +0200)]
audiopanorama: fix get_unit_size
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
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
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
Sebastian Dröge [Fri, 28 Oct 2011 07:36:17 +0000 (09:36 +0200)]
videomixer2: Use collectpads2 from core
René Stadler [Thu, 27 Oct 2011 17:39:20 +0000 (19:39 +0200)]
wavenc: port to 0.11 raw audio caps
Wim Taymans [Thu, 27 Oct 2011 17:06:06 +0000 (19:06 +0200)]
Merge branch 'master' into 0.11
Conflicts:
gst/flv/gstflvmux.c
Wim Taymans [Thu, 27 Oct 2011 17:00:52 +0000 (19:00 +0200)]
make some more things compile again
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
Wim Taymans [Thu, 27 Oct 2011 14:03:17 +0000 (16:03 +0200)]
fix compilation
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.
Jan Schmidt [Wed, 26 Oct 2011 13:37:03 +0000 (00:37 +1100)]
flvmux: add some comments and defines to clarify code.
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.
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.
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.
René Stadler [Fri, 21 Oct 2011 20:33:34 +0000 (22:33 +0200)]
equalizer: 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
Stefan Sauer [Fri, 21 Oct 2011 12:51:23 +0000 (14:51 +0200)]
interfaces: clean up the use of iface and class/klass
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
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.
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).
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".
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.
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.
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.
Edward Hervey [Wed, 19 Oct 2011 11:09:51 +0000 (13:09 +0200)]
ebml: Fix push-based behaviour
The 'peek' method was completely wrong (!?)
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
Tim-Philipp Müller [Tue, 18 Oct 2011 11:25:14 +0000 (12:25 +0100)]
wavpackenc: don't unref buffer with gst_object_unref()
Wim Taymans [Tue, 18 Oct 2011 10:05:01 +0000 (12:05 +0200)]
pulsesink: only use is_pcm for 1.0 of pulseaudio
Wim Taymans [Tue, 18 Oct 2011 09:58:57 +0000 (11:58 +0200)]
pulsesink: only disable trickmodes for !pcm
Only disable trickmodes when we are not dealing with raw PCM samples.
Wim Taymans [Sun, 16 Oct 2011 13:32:50 +0000 (15:32 +0200)]
videocrop: fix compilation
Wim Taymans [Sun, 16 Oct 2011 13:26:38 +0000 (15:26 +0200)]
Merge branch 'master' into 0.11
Conflicts:
gst/rtp/gstrtpvrawdepay.c
Arun Raghavan [Fri, 14 Oct 2011 05:26:16 +0000 (10:56 +0530)]
videomixer2: Fix a leak
Buffers weren't being unref'ed in one case inside, causing memory usage
to blow up.
Marc Leeman [Fri, 14 Oct 2011 07:10:01 +0000 (09:10 +0200)]
set colour masks for video/x-raw-rgb in rtpvrawdepay
Thiago Santos [Thu, 13 Oct 2011 04:05:13 +0000 (01:05 -0300)]
configure: re-enable videocrop plugin
Already ported to 0.11
Thiago Santos [Thu, 13 Oct 2011 04:05:04 +0000 (01:05 -0300)]
aspectratiocrop: Port to 0.11
Thiago Santos [Thu, 13 Oct 2011 03:39:28 +0000 (00:39 -0300)]
videocrop: Port to 0.11
Thiago Santos [Wed, 12 Oct 2011 20:43:47 +0000 (17:43 -0300)]
tests: aspectratiocrop: Port to 0.11
Thiago Santos [Wed, 12 Oct 2011 11:24:28 +0000 (08:24 -0300)]
tests: alphacolor: Port to 0.11
Edward Hervey [Thu, 13 Oct 2011 15:12:23 +0000 (17:12 +0200)]
flacenc: Properly register type
It's a subclass of GstAudioEncoder and not of GstElement
Arun Raghavan [Thu, 13 Oct 2011 11:29:50 +0000 (16:59 +0530)]
videomixer2: Fix incorrect gst_buffer_replace() call
This got exposed when gst_buffer_replace() was changed from a macro to a
function.
Edward Hervey [Thu, 13 Oct 2011 07:34:04 +0000 (09:34 +0200)]
rtpssrcdemux: Fix wrong usage of gst_iterator_filter
It takes a GValue* as the user_data.
And don't forget to unref the demuxer before returning.
Wim Taymans [Thu, 13 Oct 2011 07:02:47 +0000 (09:02 +0200)]
fix compile
Wim Taymans [Thu, 13 Oct 2011 06:58:06 +0000 (08:58 +0200)]
Merge branch 'master' into 0.11
Conflicts:
ext/jpeg/gstjpegdec.c
gst/rtp/gstrtpvrawpay.c
Thiago Santos [Wed, 12 Oct 2011 11:09:20 +0000 (08:09 -0300)]
tests: cmmlenc: Port to 0.11
Thiago Santos [Wed, 12 Oct 2011 11:02:08 +0000 (08:02 -0300)]
tests: cmmldec: Port to 0.11
Thiago Santos [Wed, 12 Oct 2011 10:29:30 +0000 (07:29 -0300)]
pulseaudiosink: Use new GstIterator API correctly
GstIterator now uses GValue, use it correctly.
Edward Hervey [Wed, 12 Oct 2011 09:26:50 +0000 (11:26 +0200)]
rtpvrawpay: Only use 24 LSB for depth=24 RGB caps
... and indent the masks for clarity
René Stadler [Tue, 11 Oct 2011 12:58:43 +0000 (14:58 +0200)]
matroskamux: fix segment handling, so we actually use running time
gst_matroska_mux_best_pad adjusts the buffer timestamp to running time using
the segment stored in the pad's collect data. However, the event handler didn't
pass the newsegment event on to collectpads' handler, so this segment was never
updated at all.
Re-fixes bug #432612.
Sjoerd Simons [Mon, 10 Oct 2011 18:01:23 +0000 (19:01 +0100)]
gstrtpg722pay: Compensate for clockrate vs. samplerate difference
The RTP clock-rate used for G722 is 8000, even though the samplerate is
16000. Compensate for this by pretending G722 has 8 bits per sample
instead of the 4 bits as if it were a codec that ran at half the speed,
but with twice the number of bits. Fixes #661376
Sjoerd Simons [Tue, 27 Sep 2011 18:25:53 +0000 (19:25 +0100)]
jpegdec: Implement upstream negotiation
Add upstream negotiation for jpegdec. Fixes #660275
Tim-Philipp Müller [Mon, 10 Oct 2011 18:02:58 +0000 (19:02 +0100)]
matroska-demux: don't leak audio codec_data buffer
Edward Hervey [Mon, 10 Oct 2011 15:41:10 +0000 (17:41 +0200)]
alpha: Don't use start() vmethod
The only thing we're doing is initializing parameters ...
* which won't work because we don't have upstream/downstream caps
* which will be initialized when ::set_caps() is called
Wim Taymans [Mon, 10 Oct 2011 12:08:29 +0000 (14:08 +0200)]
Merge branch 'master' into 0.11
Wim Taymans [Mon, 10 Oct 2011 11:22:12 +0000 (13:22 +0200)]
id3demux: port to 0.11
Stefan Sauer [Mon, 10 Oct 2011 11:20:04 +0000 (13:20 +0200)]
tests: add missing PLUGIN_ASE_LIBS to LDADD
Wim Taymans [Mon, 10 Oct 2011 10:54:22 +0000 (12:54 +0200)]
icydemux: port to 0.11
Wim Taymans [Mon, 10 Oct 2011 10:27:06 +0000 (12:27 +0200)]
annodex: port to 0.11
Wim Taymans [Mon, 10 Oct 2011 09:48:20 +0000 (11:48 +0200)]
Merge branch 'master' into 0.11
Conflicts:
ext/speex/gstspeexenc.c
Thiago Santos [Mon, 10 Oct 2011 03:18:56 +0000 (00:18 -0300)]
pulse: port pulseutil to 0.11
Thiago Santos [Mon, 10 Oct 2011 00:17:24 +0000 (21:17 -0300)]
pulseaudiosink: port to 0.11
Thiago Santos [Sun, 9 Oct 2011 21:58:29 +0000 (18:58 -0300)]
pulsesink: Fixing getcaps function
Update getcaps function to 0.11 API
Mark Nauwelaerts [Sun, 9 Oct 2011 19:31:27 +0000 (21:31 +0200)]
speexenc: only push header buffers following initial events
Tim-Philipp Müller [Sun, 9 Oct 2011 15:29:05 +0000 (16:29 +0100)]
Merge remote-tracking branch 'origin/master' into 0.11
Tim-Philipp Müller [Sun, 9 Oct 2011 15:24:36 +0000 (16:24 +0100)]
qtdemux: update for __gst_debug_min name change
Thiago Santos [Sun, 9 Oct 2011 14:18:18 +0000 (11:18 -0300)]
qtmux: Fix memory leak on atoms recovery function
Remember to free the ftyp data after writing it to a file.
Fixes #660969
Wim Taymans [Thu, 6 Oct 2011 10:26:33 +0000 (12:26 +0200)]
qtmux: report new bits
Wim Taymans [Thu, 6 Oct 2011 10:23:39 +0000 (12:23 +0200)]
Merge branch 'master' into 0.11
Conflicts:
ext/speex/gstspeexdec.c
ext/speex/gstspeexenc.c
gst/isomp4/atoms.c
gst/isomp4/gstqtmux.c
Vincent Penquerc'h [Wed, 21 Sep 2011 17:45:42 +0000 (18:45 +0100)]
matroskademux: improve segment handling with non-zero starting timestamp
... as well as related items, such as seeking and position reporting.
https://bugzilla.gnome.org/show_bug.cgi?id=659808
Stas Sergeev [Thu, 29 Sep 2011 14:41:53 +0000 (18:41 +0400)]
v4l2, ximagesrc: fix some printf format compiler warnings
https://bugzilla.gnome.org/show_bug.cgi?id=660150
Thiago Santos [Fri, 30 Sep 2011 15:42:22 +0000 (12:42 -0300)]
tests: qtmux: Refactor bitrate check test
Refactor bitrate check test to accomodate multiple tests
for bitrate
Thiago Santos [Fri, 30 Sep 2011 16:02:31 +0000 (13:02 -0300)]
qtmux: update esds atom under wave atom for aac bitrates
AAC in mov format puts an ESDS atom inside of a WAVE atom in
STSD atom, we need to update the bitrate on this ESDS. This patch
fixes it.
Thiago Santos [Fri, 30 Sep 2011 15:41:52 +0000 (12:41 -0300)]
qtmux: Also update btrt atom
When rewriting bitrates, also update the btrt atom under stsd
Thiago Santos [Fri, 30 Sep 2011 13:55:53 +0000 (10:55 -0300)]
tests: qtmux: add tests for bitrate average calculation
Adds tests to make sure qtmux/mp4mux sets average bitrate
correctly
Thiago Santos [Wed, 28 Sep 2011 14:41:49 +0000 (11:41 -0300)]
qtmux: Calculate average bitrate for streams
Calculate and use average bitrate for streams when no
bitrate tag was received
Thiago Santos [Wed, 28 Sep 2011 13:41:14 +0000 (10:41 -0300)]
qtmux: Avoid a buffer metadata copy if possible
If first_ts is 0 there is no need to subtract, so we might
skip some copying to make the buffer metadata writable.
Tim-Philipp Müller [Thu, 29 Sep 2011 22:21:46 +0000 (23:21 +0100)]
speexenc: initialise variable before adding to it
Mark Nauwelaerts [Thu, 29 Sep 2011 15:21:22 +0000 (17:21 +0200)]
speexdec: port to audiodecoder
Mark Nauwelaerts [Thu, 29 Sep 2011 14:33:01 +0000 (16:33 +0200)]
speexenc: clean up some unused remnants
Mark Nauwelaerts [Thu, 29 Sep 2011 15:32:23 +0000 (17:32 +0200)]
speexenc: port to audioencoder
Tim-Philipp Müller [Wed, 28 Sep 2011 18:10:27 +0000 (19:10 +0100)]
flacdec: get rid of granulepos handling
Leave that to the parser or demuxer. There's still some
code for operating in DEFAULT (samples) format, but that
will be removed later.
Tim-Philipp Müller [Wed, 28 Sep 2011 17:32:00 +0000 (18:32 +0100)]
flacdec: get rid of pull-mode support and focus on being a decoder
Leave all the other stuff to flacparse.
Tim-Philipp Müller [Wed, 28 Sep 2011 16:29:08 +0000 (17:29 +0100)]
flac, jpeg: fix compiler warning
Wim Taymans [Wed, 28 Sep 2011 15:40:01 +0000 (17:40 +0200)]
flac: port to 0.11
Wim Taymans [Wed, 28 Sep 2011 15:39:12 +0000 (17:39 +0200)]
Merge branch 'master' into 0.11
Conflicts:
ext/flac/gstflacenc.c