platform/upstream/gstreamer.git
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()

13 years agopulsesink: only use is_pcm for 1.0 of pulseaudio
Wim Taymans [Tue, 18 Oct 2011 10:05:01 +0000 (12:05 +0200)]
pulsesink: only use is_pcm for 1.0 of pulseaudio

13 years agopulsesink: only disable trickmodes for !pcm
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.

13 years agovideocrop: fix compilation
Wim Taymans [Sun, 16 Oct 2011 13:32:50 +0000 (15:32 +0200)]
videocrop: fix compilation

13 years agoMerge branch 'master' into 0.11
Wim Taymans [Sun, 16 Oct 2011 13:26:38 +0000 (15:26 +0200)]
Merge branch 'master' into 0.11

Conflicts:
gst/rtp/gstrtpvrawdepay.c

13 years agovideomixer2: Fix a leak
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.

13 years agoset colour masks for video/x-raw-rgb in rtpvrawdepay
Marc Leeman [Fri, 14 Oct 2011 07:10:01 +0000 (09:10 +0200)]
set colour masks for video/x-raw-rgb in rtpvrawdepay

13 years agoconfigure: re-enable videocrop plugin
Thiago Santos [Thu, 13 Oct 2011 04:05:13 +0000 (01:05 -0300)]
configure: re-enable videocrop plugin

Already ported to 0.11

13 years agoaspectratiocrop: Port to 0.11
Thiago Santos [Thu, 13 Oct 2011 04:05:04 +0000 (01:05 -0300)]
aspectratiocrop: Port to 0.11

13 years agovideocrop: Port to 0.11
Thiago Santos [Thu, 13 Oct 2011 03:39:28 +0000 (00:39 -0300)]
videocrop: Port to 0.11

13 years agotests: aspectratiocrop: Port to 0.11
Thiago Santos [Wed, 12 Oct 2011 20:43:47 +0000 (17:43 -0300)]
tests: aspectratiocrop: Port to 0.11

13 years agotests: alphacolor: Port to 0.11
Thiago Santos [Wed, 12 Oct 2011 11:24:28 +0000 (08:24 -0300)]
tests: alphacolor: Port to 0.11

13 years agoflacenc: Properly register type
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

13 years agovideomixer2: Fix incorrect gst_buffer_replace() call
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.

13 years agortpssrcdemux: Fix wrong usage of gst_iterator_filter
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.

13 years agofix compile
Wim Taymans [Thu, 13 Oct 2011 07:02:47 +0000 (09:02 +0200)]
fix compile

13 years agoMerge branch 'master' into 0.11
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

13 years agotests: cmmlenc: Port to 0.11
Thiago Santos [Wed, 12 Oct 2011 11:09:20 +0000 (08:09 -0300)]
tests: cmmlenc: Port to 0.11

13 years agotests: cmmldec: Port to 0.11
Thiago Santos [Wed, 12 Oct 2011 11:02:08 +0000 (08:02 -0300)]
tests: cmmldec: Port to 0.11

13 years agopulseaudiosink: Use new GstIterator API correctly
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.

13 years agortpvrawpay: Only use 24 LSB for depth=24 RGB caps
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

13 years agomatroskamux: fix segment handling, so we actually use running time
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.

13 years agogstrtpg722pay: Compensate for clockrate vs. samplerate difference
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

13 years agojpegdec: Implement upstream negotiation
Sjoerd Simons [Tue, 27 Sep 2011 18:25:53 +0000 (19:25 +0100)]
jpegdec: Implement upstream negotiation

Add upstream negotiation for jpegdec. Fixes #660275

13 years agomatroska-demux: don't leak audio codec_data buffer
Tim-Philipp Müller [Mon, 10 Oct 2011 18:02:58 +0000 (19:02 +0100)]
matroska-demux: don't leak audio codec_data buffer

13 years agoalpha: Don't use start() vmethod
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

13 years agoMerge branch 'master' into 0.11
Wim Taymans [Mon, 10 Oct 2011 12:08:29 +0000 (14:08 +0200)]
Merge branch 'master' into 0.11

13 years agoid3demux: port to 0.11
Wim Taymans [Mon, 10 Oct 2011 11:22:12 +0000 (13:22 +0200)]
id3demux: port to 0.11

13 years agotests: add missing PLUGIN_ASE_LIBS to LDADD
Stefan Sauer [Mon, 10 Oct 2011 11:20:04 +0000 (13:20 +0200)]
tests: add missing PLUGIN_ASE_LIBS to LDADD

13 years agoicydemux: port to 0.11
Wim Taymans [Mon, 10 Oct 2011 10:54:22 +0000 (12:54 +0200)]
icydemux: port to 0.11