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

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

12 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.

12 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

12 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

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

12 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

12 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

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

12 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

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

12 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

12 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

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

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

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

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

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

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

12 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*

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

12 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.

12 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.

12 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.

12 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.

12 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

12 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

12 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.

12 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

12 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

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

12 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

12 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

12 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

12 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

12 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.

12 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

12 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

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

12 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

12 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

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

12 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.

12 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.

12 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

12 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.

12 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

12 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

12 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

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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

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

12 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.

12 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.

12 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.

12 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.

12 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.

12 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

12 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

12 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

12 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

12 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.

12 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).

12 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".

12 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.

12 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.

12 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.

12 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 (!?)

12 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

12 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()

12 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

12 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.

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

12 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

12 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.

12 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

12 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

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

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

12 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

12 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

12 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

12 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.

12 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.

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

12 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

12 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

12 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

12 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.

12 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

12 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.

12 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

12 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