platform/upstream/gstreamer.git
12 years agoreplaygain: also still post the results of the analysis
Mark Nauwelaerts [Mon, 26 Mar 2012 16:20:40 +0000 (18:20 +0200)]
replaygain: also still post the results of the analysis

12 years agov4l2src: don't error in shutdown
Wim Taymans [Mon, 26 Mar 2012 13:59:01 +0000 (15:59 +0200)]
v4l2src: don't error in shutdown

Don't log with the ERROR category when we are stopping because we are shutting
down.

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

12 years agov4l2: fix latency
Wim Taymans [Mon, 26 Mar 2012 13:51:28 +0000 (15:51 +0200)]
v4l2: fix latency

12 years agov4l2: called base class start
Wim Taymans [Mon, 26 Mar 2012 13:30:00 +0000 (15:30 +0200)]
v4l2: called base class start

Chain up to the base class start method so that metadata is properly tagged.
Remove an unused variable.

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

12 years agoReplace master with 0.11
Wim Taymans [Mon, 26 Mar 2012 10:12:45 +0000 (12:12 +0200)]
Replace master with 0.11

12 years agoimagefreeze: plug caps leak
Mark Nauwelaerts [Sat, 24 Mar 2012 08:51:06 +0000 (09:51 +0100)]
imagefreeze: plug caps leak

12 years agotests: imagefreeze: remove extraneous _unref
Mark Nauwelaerts [Fri, 23 Mar 2012 17:47:45 +0000 (18:47 +0100)]
tests: imagefreeze: remove extraneous _unref

12 years agotests: avimux: adjust to modified sink pad template name
Mark Nauwelaerts [Fri, 23 Mar 2012 17:47:03 +0000 (18:47 +0100)]
tests: avimux: adjust to modified sink pad template name

12 years agotests: qtmux: cleanup element sooner
Mark Nauwelaerts [Fri, 23 Mar 2012 17:46:36 +0000 (18:46 +0100)]
tests: qtmux: cleanup element sooner

... to avoid stray refs in sticky caps events.

12 years agotests: arrange for sending an initial segment event
Mark Nauwelaerts [Fri, 23 Mar 2012 17:45:56 +0000 (18:45 +0100)]
tests: arrange for sending an initial segment event

... which is needed nowadays since various gst_segment_to_...
no longer automatically set the format to the specified one
(from _UNDEFINED).

12 years agoimagefreeze: immediately return GST_FLOW_EOS
Mark Nauwelaerts [Fri, 23 Mar 2012 17:44:15 +0000 (18:44 +0100)]
imagefreeze: immediately return GST_FLOW_EOS

... rather than _OK since we will not be caring about subsequent buffer
anyway.

12 years agoimagefreeze: fix query and _getcaps handling
Mark Nauwelaerts [Fri, 23 Mar 2012 17:43:36 +0000 (18:43 +0100)]
imagefreeze: fix query and _getcaps handling

12 years agoaudiofx: adjust to changed semantics of audiofilter _setup method
Mark Nauwelaerts [Fri, 23 Mar 2012 17:42:48 +0000 (18:42 +0100)]
audiofx: adjust to changed semantics of audiofilter _setup method

... in that it will now call subclass with info on proposed audio format
without having set that info already in base class.  As such,
subclass can not rely on audio format info being available there.

12 years agortph264depay: Make output in AVC stream format work even without complete sprop-param...
Olivier Crête [Thu, 14 Jul 2011 20:23:49 +0000 (16:23 -0400)]
rtph264depay: Make output in AVC stream format work even without complete sprop-parameter-set

This allows outputting streams in AVC format even if the SPS/PPS are sent inside
the RTP stream.

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

Ported from master

12 years agoudpsink: Unlock on error
Olivier Crête [Sun, 29 Jan 2012 18:39:54 +0000 (18:39 +0000)]
udpsink: Unlock on error

12 years agoaudioparsers: use sink pad template caps rather than src
Mark Nauwelaerts [Thu, 22 Mar 2012 17:27:30 +0000 (18:27 +0100)]
audioparsers: use sink pad template caps rather than src

12 years agoMerge branch 'master' into 0.11
Mark Nauwelaerts [Thu, 22 Mar 2012 17:23:22 +0000 (18:23 +0100)]
Merge branch 'master' into 0.11

12 years agosmpte: port to 0.11
Mark Nauwelaerts [Thu, 22 Mar 2012 17:21:52 +0000 (18:21 +0100)]
smpte: port to 0.11

12 years agoaudioparsers: intersect downstream allowed peer caps with sink pad template
Mark Nauwelaerts [Thu, 22 Mar 2012 15:10:33 +0000 (16:10 +0100)]
audioparsers: intersect downstream allowed peer caps with sink pad template

12 years agoback to development
Wim Taymans [Thu, 22 Mar 2012 14:55:28 +0000 (15:55 +0100)]
back to development

12 years agoRelease 0.11.2
Wim Taymans [Thu, 22 Mar 2012 14:51:13 +0000 (15:51 +0100)]
Release 0.11.2

12 years agoMerge branch 'master' into 0.11
Wim Taymans [Thu, 22 Mar 2012 10:55:28 +0000 (11:55 +0100)]
Merge branch 'master' into 0.11

12 years agoMerge branch 'master' into 0.11
Wim Taymans [Thu, 22 Mar 2012 10:53:24 +0000 (11:53 +0100)]
Merge branch 'master' into 0.11

unport gdkpixbuf
not merged: https://bugzilla.gnome.org/show_bug.cgi?id=654850

Conflicts:
docs/plugins/Makefile.am
docs/plugins/gst-plugins-good-plugins-docs.sgml
docs/plugins/gst-plugins-good-plugins-sections.txt
docs/plugins/gst-plugins-good-plugins.hierarchy
docs/plugins/inspect/plugin-avi.xml
docs/plugins/inspect/plugin-png.xml
ext/flac/gstflacdec.c
ext/flac/gstflacdec.h
ext/libpng/gstpngdec.c
ext/libpng/gstpngenc.c
ext/speex/gstspeexdec.c
gst/audioparsers/gstflacparse.c
gst/flv/gstflvmux.c
gst/rtp/gstrtpdvdepay.c
gst/rtp/gstrtph264depay.c

12 years agosmpte: only start collectpads2 at state change rather than init
Mark Nauwelaerts [Thu, 22 Mar 2012 10:45:11 +0000 (11:45 +0100)]
smpte: only start collectpads2 at state change rather than init

12 years agotests: update for memory api changes
Wim Taymans [Wed, 21 Mar 2012 12:22:43 +0000 (13:22 +0100)]
tests: update for memory api changes

12 years agoupdate for memory api changes
Wim Taymans [Tue, 20 Mar 2012 09:24:05 +0000 (10:24 +0100)]
update for memory api changes

12 years agoflacparse: perform additional frame crc check if applicable
Mark Nauwelaerts [Mon, 19 Mar 2012 11:01:40 +0000 (12:01 +0100)]
flacparse: perform additional frame crc check if applicable

... such as a frame header parsing throwing some suspicious warnings.
So we can be a bit more convinced we determine the right frame end.

12 years agoflacparse: avoid indefinite extended search for frame end if possible
Mark Nauwelaerts [Mon, 19 Mar 2012 10:58:15 +0000 (11:58 +0100)]
flacparse: avoid indefinite extended search for frame end if possible

... which is particularly useful if locked on to the wrong frame start
and/or corrupt frame being crc checked.

12 years agoflacdec: improve error handling and resilience
Mark Nauwelaerts [Fri, 16 Mar 2012 17:23:29 +0000 (18:23 +0100)]
flacdec: improve error handling and resilience

... by noting that one occurred in the first place, and then appropriately
ignoring some transient ones.

12 years agoqtdemux: negotiate an allocator on the srcpads
Wim Taymans [Mon, 19 Mar 2012 09:33:48 +0000 (10:33 +0100)]
qtdemux: negotiate an allocator on the srcpads

We do an ALLOCATION query to find out an allocator and parameters on the
srcpads. This way decoders (and sinks) can specify the memory and parameters
they want us to write into.

12 years agodocs: update docs for new properties and add gdkpixbufoverlay element
Tim-Philipp Müller [Sat, 17 Mar 2012 20:53:31 +0000 (20:53 +0000)]
docs: update docs for new properties and add gdkpixbufoverlay element

Somewhat at least. No idea why it doesn't pick up the description
or example pipeline.

12 years agogdkpixbufoverlay: make most properties controllable and flag them as mutable-playing
Tim-Philipp Müller [Sun, 18 Mar 2012 00:11:19 +0000 (00:11 +0000)]
gdkpixbufoverlay: make most properties controllable and flag them as mutable-playing

12 years agogdkpixbufoverlay: add properties for positioning and sizing
Tim-Philipp Müller [Sat, 17 Mar 2012 23:41:38 +0000 (23:41 +0000)]
gdkpixbufoverlay: add properties for positioning and sizing

12 years agogdkpixbuf: add gdkpixbufoverlay element
Tim-Philipp Müller [Sat, 17 Mar 2012 20:18:19 +0000 (20:18 +0000)]
gdkpixbuf: add gdkpixbufoverlay element

Still lacks features such as positioning or resizing, or
animations, but it's usable already, and supports lots of
formats.

12 years agodon't poke into basetransform internals
Wim Taymans [Fri, 16 Mar 2012 21:52:02 +0000 (22:52 +0100)]
don't poke into basetransform internals

But use the methods

12 years agodon't pass random pointers to pull_range
Wim Taymans [Fri, 16 Mar 2012 20:47:21 +0000 (21:47 +0100)]
don't pass random pointers to pull_range

12 years agoupdarte for bufferpool changes
Wim Taymans [Thu, 15 Mar 2012 21:15:47 +0000 (22:15 +0100)]
updarte for bufferpool changes

12 years agoupdate for bufferpool changes
Wim Taymans [Thu, 15 Mar 2012 21:11:17 +0000 (22:11 +0100)]
update for bufferpool changes

12 years agoupdate for allocation query changes
Wim Taymans [Thu, 15 Mar 2012 19:37:56 +0000 (20:37 +0100)]
update for allocation query changes

12 years agortph264depay: Make output in AVC stream format work even without complete sprop-param...
Olivier Crête [Thu, 14 Jul 2011 20:23:49 +0000 (16:23 -0400)]
rtph264depay: Make output in AVC stream format work even without complete sprop-parameter-set

This allows outputting streams in AVC format even if the SPS/PPS are sent inside
the RTP stream.

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

12 years agoupdate for bufferpool api change
Wim Taymans [Thu, 15 Mar 2012 13:06:40 +0000 (14:06 +0100)]
update for bufferpool api change

12 years agoupdate for memory api changes
Wim Taymans [Thu, 15 Mar 2012 12:36:17 +0000 (13:36 +0100)]
update for memory api changes

12 years agoupdate for memory api changes
Wim Taymans [Wed, 14 Mar 2012 20:36:03 +0000 (21:36 +0100)]
update for memory api changes

12 years agotake padding into account
Wim Taymans [Wed, 14 Mar 2012 18:55:32 +0000 (19:55 +0100)]
take padding into account

12 years agoimagefreeze: port to 0.11
Mark Nauwelaerts [Wed, 14 Mar 2012 16:07:50 +0000 (17:07 +0100)]
imagefreeze: port to 0.11

12 years agojitterbuffer: reply FALSe on serialized queries
Wim Taymans [Wed, 14 Mar 2012 14:45:38 +0000 (15:45 +0100)]
jitterbuffer: reply FALSe on serialized queries

12 years agopngenc: add support for 8- and 16-bit gray images
Andrej Gelenberg [Tue, 13 Mar 2012 22:08:38 +0000 (23:08 +0100)]
pngenc: add support for 8- and 16-bit gray images

Add support for direct encoding of 8- and 16-bit big endian gray images.

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

12 years agomp4vpay: we can also handle x-divx
Wim Taymans [Wed, 14 Mar 2012 10:21:32 +0000 (11:21 +0100)]
mp4vpay: we can also handle x-divx

12 years agowavpackenc: do not set output caps directly
Mark Nauwelaerts [Wed, 14 Mar 2012 09:39:53 +0000 (10:39 +0100)]
wavpackenc: do not set output caps directly

... but use base class function instead.

12 years agomp4vdepay: fix buffer handling
Wim Taymans [Tue, 13 Mar 2012 20:31:48 +0000 (21:31 +0100)]
mp4vdepay: fix buffer handling

Don't always output the payload subbuffer, use a separate variable to
make things clearer and without the error.

12 years agoudpsink: make buffer-size work again
Wim Taymans [Tue, 13 Mar 2012 19:49:43 +0000 (20:49 +0100)]
udpsink: make buffer-size work again

12 years agoudpsrc: fix SO_RCVBUF handling
Wim Taymans [Tue, 13 Mar 2012 19:36:56 +0000 (20:36 +0100)]
udpsrc: fix SO_RCVBUF handling

12 years agortpsession: don't leak the address
Wim Taymans [Tue, 13 Mar 2012 18:26:47 +0000 (19:26 +0100)]
rtpsession: don't leak the address

12 years agoh264depay: unmap on empty packet
Wim Taymans [Tue, 13 Mar 2012 18:26:23 +0000 (19:26 +0100)]
h264depay: unmap on empty packet

12 years agortph264pay: do DTS and PTS correctly
Wim Taymans [Tue, 13 Mar 2012 17:07:18 +0000 (18:07 +0100)]
rtph264pay: do DTS and PTS correctly

12 years agoqtdemux: set DTS and PTS on output buffers
Wim Taymans [Tue, 13 Mar 2012 16:54:50 +0000 (17:54 +0100)]
qtdemux: set DTS and PTS on output buffers

Set PTS and DTS on output buffers instead of just the PTS. In streaming cases
you want to synchronized encoded data based on the DTS because that is
monotonically increasing.

12 years agoqtdemux: debug additional sdtp flag
Wim Taymans [Tue, 13 Mar 2012 16:54:28 +0000 (17:54 +0100)]
qtdemux: debug additional sdtp flag

12 years agortp: fix unmap calls
Wim Taymans [Tue, 13 Mar 2012 16:27:32 +0000 (17:27 +0100)]
rtp: fix unmap calls

12 years agopulse: fix formats, we can not handle S8 but only U8
Wim Taymans [Tue, 13 Mar 2012 12:25:09 +0000 (13:25 +0100)]
pulse: fix formats, we can not handle S8 but only U8

12 years agoflacenc: fix streamheaders
Wim Taymans [Tue, 13 Mar 2012 11:40:37 +0000 (12:40 +0100)]
flacenc: fix streamheaders

Fix the caps of flacenc, the reference encoder only support 24 bits in
32 bits.
Set streamheader on output caps.

12 years agoupdate for caps api changes
Wim Taymans [Mon, 12 Mar 2012 16:17:01 +0000 (17:17 +0100)]
update for caps api changes

12 years agoconfigure.ac : bump GLib requirement to 2.31.14
Sreerenj Balachandran [Mon, 12 Mar 2012 14:43:27 +0000 (16:43 +0200)]
configure.ac : bump GLib requirement to 2.31.14

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

12 years agoflacenc: generate seektables every 10 sec by default
Ross Burton [Mon, 12 Mar 2012 14:27:27 +0000 (15:27 +0100)]
flacenc: generate seektables every 10 sec by default

Since this is what the command line tool does as well, it seems like
a better default.

12 years agomatroskademux: only unlock pad when it was locked
Vincent Penquerc'h [Sat, 10 Mar 2012 13:44:08 +0000 (13:44 +0000)]
matroskademux: only unlock pad when it was locked

This fixes the mutex being unlocked too much and ending up allowing
other threads when they should not.

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

12 years agopngdec: add support for video/x-raw-gray formats
Andrej Gelenberg [Wed, 7 Mar 2012 12:39:50 +0000 (13:39 +0100)]
pngdec: add support for video/x-raw-gray formats

pngdec can now decode gray 8- and 16-bit images without alpha channel
direct to video/x-raw-gray format. 16-bit gray images have big-endian
format, because it's native PNG endianness. Gray images with alpha
channel still converted to RGBA.

Signed-off-by: Andrej Gelenberg <andrej.gelenberg@udo.edu>
12 years agogstrtspsrc: disable RTSP keep-alive on request
Marc Leeman [Thu, 8 Mar 2012 16:07:51 +0000 (17:07 +0100)]
gstrtspsrc: disable RTSP keep-alive on request

12 years agosmpte: fix stride handling
Wim Taymans [Mon, 12 Mar 2012 13:48:47 +0000 (14:48 +0100)]
smpte: fix stride handling

12 years agofix for caps _normalize changes
Wim Taymans [Mon, 12 Mar 2012 11:23:15 +0000 (12:23 +0100)]
fix for caps _normalize changes

12 years agofix for caps api change
Wim Taymans [Mon, 12 Mar 2012 10:47:35 +0000 (11:47 +0100)]
fix for caps api change

12 years agofix for _do_simplify changes
Wim Taymans [Mon, 12 Mar 2012 09:43:57 +0000 (10:43 +0100)]
fix for _do_simplify changes

12 years agogst: Fix some query leaks
Nicola Murino [Mon, 12 Mar 2012 07:48:32 +0000 (08:48 +0100)]
gst: Fix some query leaks

12 years agofix for caps api changes
Wim Taymans [Sun, 11 Mar 2012 18:06:37 +0000 (19:06 +0100)]
fix for caps api changes

12 years agofix template caps refcount
Wim Taymans [Sat, 10 Mar 2012 09:51:44 +0000 (10:51 +0100)]
fix template caps refcount

12 years agoconfigure: fix use of AC_LANG_PROGRAM
Tim-Philipp Müller [Fri, 9 Mar 2012 15:53:32 +0000 (15:53 +0000)]
configure: fix use of AC_LANG_PROGRAM

No need to include the int main () { } bits, the body is enough.

12 years agoconfigure: fix autogen.sh warnings
Tim-Philipp Müller [Fri, 9 Mar 2012 15:25:02 +0000 (15:25 +0000)]
configure: fix autogen.sh warnings

configure.ac:410: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body

12 years agoaasink: propose videometa uptream
Wim Taymans [Thu, 8 Mar 2012 12:06:13 +0000 (13:06 +0100)]
aasink: propose videometa uptream

subclass from videosink.
Propose videometa upstream because we can handle it with the video api.

12 years agoqtmux: do not unref sample caps
Matej Knopp [Thu, 8 Mar 2012 06:53:50 +0000 (01:53 -0500)]
qtmux: do not unref sample caps

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

12 years agotests: improve more tests
Wim Taymans [Thu, 8 Mar 2012 10:36:01 +0000 (11:36 +0100)]
tests: improve more tests

12 years agotests: fix some more tests
Wim Taymans [Thu, 8 Mar 2012 10:20:43 +0000 (11:20 +0100)]
tests: fix some more tests

12 years agortpbin: improve cleanup
Wim Taymans [Wed, 7 Mar 2012 14:22:36 +0000 (15:22 +0100)]
rtpbin: improve cleanup

Reuse cleanup methods to make sure we remove all pads correctly

12 years agortpsession: set caps without the lock
Wim Taymans [Wed, 7 Mar 2012 14:00:26 +0000 (15:00 +0100)]
rtpsession: set caps without the lock

Release the lock before setting the caps on the srcpad, which triggers an event,
which could eventually call back into us and cause a deadlock.

12 years agoptdemux: set caps after activating the pad
Wim Taymans [Wed, 7 Mar 2012 13:55:08 +0000 (14:55 +0100)]
ptdemux: set caps after activating the pad

Set the caps after we activated the pad or else it will just fail.

12 years agolaw: add layout to audio caps
Wim Taymans [Wed, 7 Mar 2012 13:54:15 +0000 (14:54 +0100)]
law: add layout to audio caps

12 years agolaw: use GstAudioInfo
Wim Taymans [Wed, 7 Mar 2012 13:51:09 +0000 (14:51 +0100)]
law: use GstAudioInfo

Use GstAudioInfo to generate output caps.

12 years agoqtdemux: covert art tag type is GstSample not GstBuffer now
Matej Knopp [Wed, 7 Mar 2012 09:20:00 +0000 (04:20 -0500)]
qtdemux: covert art tag type is GstSample not GstBuffer now

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

12 years agopo: fix POTFILES.in for new wavpackparse location in source tree
Tim-Philipp Müller [Wed, 7 Mar 2012 10:28:58 +0000 (10:28 +0000)]
po: fix POTFILES.in for new wavpackparse location in source tree

12 years agoudp: Change the default port to 5004
David Schleef [Wed, 7 Mar 2012 05:44:36 +0000 (21:44 -0800)]
udp: Change the default port to 5004

udpsrc/udpsink are almost always used with RTP, so let's use an
RTP port as the default port.  It's unclear why 4951 was used, it
goes back to early commits in CVS.

12 years agoMerge branch '0.11' of ssh://git.freedesktop.org/git/gstreamer/gst-plugins-good into...
David Schleef [Wed, 7 Mar 2012 05:36:02 +0000 (21:36 -0800)]
Merge branch '0.11' of ssh://git.freedesktop.org/git/gstreamer/gst-plugins-good into 0.11

12 years agospeexdec: use base class tag handling helper
Mark Nauwelaerts [Tue, 6 Mar 2012 14:58:20 +0000 (15:58 +0100)]
speexdec: use base class tag handling helper

... so as to ensure these to be handled and sent at proper time.

12 years agowavpack: Fix possible underflow of unsigned integer variable
Sebastian Dröge [Tue, 6 Mar 2012 13:25:27 +0000 (14:25 +0100)]
wavpack: Fix possible underflow of unsigned integer variable

12 years agoximagesrc: Fix 'comparison of unsigned expression >= 0 is always true'
Sebastian Dröge [Tue, 6 Mar 2012 13:22:43 +0000 (14:22 +0100)]
ximagesrc: Fix 'comparison of unsigned expression >= 0 is always true'

This variable can never be below zero anyway.

12 years agortspsrc: Use correct enum for return values
Sebastian Dröge [Tue, 6 Mar 2012 13:18:33 +0000 (14:18 +0100)]
rtspsrc: Use correct enum for return values

12 years agodvdepay: Fix 'comparison of unsigned expression >= 0 is always true' compiler warning
Sebastian Dröge [Tue, 6 Mar 2012 13:16:21 +0000 (14:16 +0100)]
dvdepay: Fix 'comparison of unsigned expression >= 0 is always true' compiler warning

This was an actual bug as it could've caused reading from
invalid memory areas when the input is broken.

12 years agodeinterlace: Fix 'variable 'oldbx' is uninitialized when used here' compiler warnings
Sebastian Dröge [Tue, 6 Mar 2012 12:21:12 +0000 (13:21 +0100)]
deinterlace: Fix 'variable 'oldbx' is uninitialized when used here' compiler warnings

12 years agodeinterlace: Fix 'implicit conversion from enumeration type 'GstDeinterlaceFields...
Sebastian Dröge [Tue, 6 Mar 2012 12:19:24 +0000 (13:19 +0100)]
deinterlace: Fix 'implicit conversion from enumeration type 'GstDeinterlaceFields' to different enumeration type 'GstDeinterlaceMode'' compiler warning

12 years agogdk: cleanups and fix rowstride
Wim Taymans [Mon, 5 Mar 2012 14:29:56 +0000 (15:29 +0100)]
gdk: cleanups and fix rowstride

Fix the output rowstride, we need to take the stride of the output video frame.
Since we are also dealing with planes, take the plane data and stride.
Don't store the same info twice in different variables.

12 years agogdkpixbuf: fix event handling
Wim Taymans [Mon, 5 Mar 2012 12:31:44 +0000 (13:31 +0100)]
gdkpixbuf: fix event handling

12 years agotests: port wavpack tests to 0.11
Mark Nauwelaerts [Mon, 5 Mar 2012 11:20:07 +0000 (12:20 +0100)]
tests: port wavpack tests to 0.11

12 years agowavpackdec: port to 0.11
Mark Nauwelaerts [Mon, 5 Mar 2012 12:36:39 +0000 (13:36 +0100)]
wavpackdec: port to 0.11

12 years agowavpackenc: port to 0.11
Mark Nauwelaerts [Mon, 5 Mar 2012 11:17:39 +0000 (12:17 +0100)]
wavpackenc: port to 0.11