platform/upstream/gst-plugins-base.git
12 years agoMerge branch 'master' into 0.11
Sebastian Dröge [Fri, 27 Jan 2012 14:12:25 +0000 (15:12 +0100)]
Merge branch 'master' into 0.11

Conflicts:
gst/adder/gstadder.c

12 years agovorbisparse: Pass correct header buffer size to libvorbis and include channels/rate...
Sebastian Dröge [Fri, 27 Jan 2012 11:08:33 +0000 (12:08 +0100)]
vorbisparse: Pass correct header buffer size to libvorbis and include channels/rate in the srcpad caps

12 years agotagdemux: use default event handler for delayed events
Wim Taymans [Thu, 26 Jan 2012 18:47:38 +0000 (19:47 +0100)]
tagdemux: use default event handler for delayed events

12 years agotcpserversink: remove unused include
Andoni Morales Alastruey [Thu, 26 Jan 2012 14:25:18 +0000 (15:25 +0100)]
tcpserversink: remove unused include

12 years agoalsa: merge instead of appending structures
Wim Taymans [Thu, 26 Jan 2012 13:28:06 +0000 (14:28 +0100)]
alsa: merge instead of appending structures

12 years agotheoraenc: Add width/height/framerate to the srcpad caps
Sebastian Dröge [Thu, 26 Jan 2012 10:02:51 +0000 (11:02 +0100)]
theoraenc: Add width/height/framerate to the srcpad caps

12 years agovorbisenc: Add samplerate and channels to the srcpad caps
Sebastian Dröge [Thu, 26 Jan 2012 10:01:12 +0000 (11:01 +0100)]
vorbisenc: Add samplerate and channels to the srcpad caps

12 years agoadder: Update for new collectpads2 event handling API
Sebastian Dröge [Thu, 26 Jan 2012 09:27:00 +0000 (10:27 +0100)]
adder: Update for new collectpads2 event handling API

12 years agotheoraenc: Fix encoding of non-mod-16 widths/heights
Sebastian Dröge [Wed, 25 Jan 2012 17:24:07 +0000 (18:24 +0100)]
theoraenc: Fix encoding of non-mod-16 widths/heights

The next higher multiple of 16 has to be passed
in the input buffers but Theora does never read
beyond the configured picture size.

12 years agotheoraparse: Remove the synchronization points property
Sebastian Dröge [Wed, 25 Jan 2012 15:42:43 +0000 (16:42 +0100)]
theoraparse: Remove the synchronization points property

Is someone really using it? In that case it has to be
changed from a GValueArray property to something else.

12 years agodocs/plugins: update docs, add multisocketsink
Thomas Vander Stichele [Wed, 25 Jan 2012 13:31:34 +0000 (14:31 +0100)]
docs/plugins: update docs, add multisocketsink

12 years agoadder: Remove deprecation disabling
Edward Hervey [Wed, 25 Jan 2012 14:02:09 +0000 (15:02 +0100)]
adder: Remove deprecation disabling

It's actually fixed in 0.11

12 years agoSuppress deprecations in selected files
Edward Hervey [Wed, 25 Jan 2012 11:50:44 +0000 (12:50 +0100)]
Suppress deprecations in selected files

12 years agoAutomatic update of common submodule
Thomas Vander Stichele [Wed, 25 Jan 2012 12:46:35 +0000 (13:46 +0100)]
Automatic update of common submodule

From c463bc0 to 7fda524

12 years agoSuppress deprecations in selected files
Edward Hervey [Wed, 25 Jan 2012 11:50:44 +0000 (12:50 +0100)]
Suppress deprecations in selected files

12 years agosubparse: factor memory freeing
Vincent Penquerc'h [Tue, 24 Jan 2012 17:44:21 +0000 (17:44 +0000)]
subparse: factor memory freeing

12 years agosubparse: fix parsing by not misusing non time segments
Vincent Penquerc'h [Tue, 24 Jan 2012 17:42:51 +0000 (17:42 +0000)]
subparse: fix parsing by not misusing non time segments

A simple filesrc ! subparse ! fakesink type pipeline now works again.

12 years agosubtitle: fix merge
Wim Taymans [Wed, 25 Jan 2012 11:27:49 +0000 (12:27 +0100)]
subtitle: fix merge

12 years agortp: improve structures
Wim Taymans [Tue, 24 Jan 2012 13:37:12 +0000 (14:37 +0100)]
rtp: improve structures

Remove flags that is in the mapinfo now

12 years agoport to new map API
Wim Taymans [Fri, 20 Jan 2012 15:11:54 +0000 (16:11 +0100)]
port to new map API

12 years agoMerge branch 'master' into 0.11
Sebastian Dröge [Wed, 25 Jan 2012 11:29:11 +0000 (12:29 +0100)]
Merge branch 'master' into 0.11

Conflicts:
gst/playback/gstdecodebin2.c

12 years agoRevert "decodebin2: Prune old groups before switching to the new one"
Sebastian Dröge [Wed, 25 Jan 2012 11:25:05 +0000 (12:25 +0100)]
Revert "decodebin2: Prune old groups before switching to the new one"

This reverts commit e2a038acee2969ed0b558093fa1c8b7422073e40.

This wasn't entirely correct yet and needs some changes here
and there.

12 years agodecodebin2: Fix merge error
Sebastian Dröge [Wed, 25 Jan 2012 11:03:31 +0000 (12:03 +0100)]
decodebin2: Fix merge error

12 years agortpbasepayload: Port to group-less GstBufferList
Olivier Crête [Wed, 25 Jan 2012 10:04:43 +0000 (11:04 +0100)]
rtpbasepayload: Port to group-less GstBufferList

12 years agoMerge branch 'master' into 0.11
Sebastian Dröge [Wed, 25 Jan 2012 10:50:54 +0000 (11:50 +0100)]
Merge branch 'master' into 0.11

Conflicts:
gst-libs/gst/interfaces/propertyprobe.c
sys/xvimage/xvimagesink.c

12 years agoAutomatic update of common submodule
Sebastian Dröge [Wed, 25 Jan 2012 10:37:55 +0000 (11:37 +0100)]
Automatic update of common submodule

From 2a59016 to c463bc0

12 years agopropertyprobe: fix documentation
David Schleef [Mon, 23 Jan 2012 17:28:18 +0000 (09:28 -0800)]
propertyprobe: fix documentation

12 years agotests: fix missing include in audio-trickplay
Tim-Philipp Müller [Mon, 23 Jan 2012 11:57:36 +0000 (11:57 +0000)]
tests: fix missing include in audio-trickplay

12 years agoplaybin2: do not try to deactivate an inactive group
Vincent Penquerc'h [Wed, 18 Jan 2012 14:58:08 +0000 (14:58 +0000)]
playbin2: do not try to deactivate an inactive group

A group may have failed to activate due to an error (for instance,
having set the URI to a non existent location in about-to-finish).

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

12 years agocontroller: move from control-binding to control-binding-direct
Stefan Sauer [Sat, 21 Jan 2012 19:06:53 +0000 (20:06 +0100)]
controller: move from control-binding to control-binding-direct

12 years agoReplace deprecated GStaticMutex with GMutex
Tim-Philipp Müller [Sun, 22 Jan 2012 22:52:28 +0000 (22:52 +0000)]
Replace deprecated GStaticMutex with GMutex

12 years agodiscoverer: use G_TYPE_ERROR instead of GST_TYPE_G_ERROR
Tim-Philipp Müller [Sun, 22 Jan 2012 01:47:14 +0000 (01:47 +0000)]
discoverer: use G_TYPE_ERROR instead of GST_TYPE_G_ERROR

12 years agosubtitleoverlay: fix state change stall on PAUSED->READY->PAUSED
Anssi Hannula [Tue, 17 Jan 2012 14:05:41 +0000 (16:05 +0200)]
subtitleoverlay: fix state change stall on PAUSED->READY->PAUSED

After a PAUSED->READY change the sink pads are currently not set to
blocking state. When the element is set back to PAUSED, the change will
be done asynchronously, but as the _pad_blocked_cb() callback is now not
called, the state change never completes.

Fix that by setting the sink pads to blocking state on a PAUSED->READY
change, which ensures that the _pad_blocked_cb() is called when needed
on any future READY->PAUSED change. The sink pads are already put to
blocking state on NULL->READY change, so this behavior is consistent.

Fixes bug #668097.

12 years agocontroller: adapt to control_binding changes
Stefan Sauer [Fri, 20 Jan 2012 13:44:19 +0000 (14:44 +0100)]
controller: adapt to control_binding changes

12 years agocontroller: adapt to controller api changes
Stefan Sauer [Fri, 20 Jan 2012 07:29:02 +0000 (08:29 +0100)]
controller: adapt to controller api changes

Don't use the convenience api for control sources.

12 years agostreamsynchronizer: avoid unlikely NULL dereference
Mark Nauwelaerts [Thu, 19 Jan 2012 15:40:22 +0000 (16:40 +0100)]
streamsynchronizer: avoid unlikely NULL dereference

12 years agovideoscale: prevent implicit upgrade to integer type and sign extension
Mark Nauwelaerts [Thu, 19 Jan 2012 15:35:54 +0000 (16:35 +0100)]
videoscale: prevent implicit upgrade to integer type and sign extension

12 years agogst-discoverer: remove extraneous variable
Mark Nauwelaerts [Thu, 19 Jan 2012 15:35:04 +0000 (16:35 +0100)]
gst-discoverer: remove extraneous variable

12 years agoplaysink: verify linking to overlay element
Mark Nauwelaerts [Thu, 19 Jan 2012 15:32:37 +0000 (16:32 +0100)]
playsink: verify linking to overlay element

12 years agoplaysink: avoid finding sink in NULL bin in corner case
Mark Nauwelaerts [Thu, 19 Jan 2012 15:32:05 +0000 (16:32 +0100)]
playsink: avoid finding sink in NULL bin in corner case

12 years agotag: exif: add missing break
Mark Nauwelaerts [Thu, 19 Jan 2012 15:29:53 +0000 (16:29 +0100)]
tag: exif: add missing break

12 years agotests: fix some tests
Wim Taymans [Thu, 19 Jan 2012 14:32:52 +0000 (15:32 +0100)]
tests: fix some tests

12 years agortcp: handle size update correctly
Wim Taymans [Thu, 19 Jan 2012 14:19:34 +0000 (15:19 +0100)]
rtcp: handle size update correctly

Do explicit resize to set the size of a buffer instead of setting a value in
unmap.

12 years agoappsrc: handle NULL caps correctly
Wim Taymans [Thu, 19 Jan 2012 14:18:58 +0000 (15:18 +0100)]
appsrc: handle NULL caps correctly

12 years agoAdd --disable-fatal-warnings configure option
Tim-Philipp Müller [Thu, 19 Jan 2012 14:07:34 +0000 (14:07 +0000)]
Add --disable-fatal-warnings configure option

12 years agoUpdate for memory API changes
Wim Taymans [Thu, 19 Jan 2012 08:17:07 +0000 (09:17 +0100)]
Update for memory API changes

12 years agoport to new glib thread API
Wim Taymans [Thu, 19 Jan 2012 08:48:38 +0000 (09:48 +0100)]
port to new glib thread API

12 years agodocs: interlaced video: Update docs
Robert Swain [Tue, 17 Jan 2012 17:13:43 +0000 (18:13 +0100)]
docs: interlaced video: Update docs

12 years agotcp: work around compiler warnings
Wim Taymans [Thu, 19 Jan 2012 08:17:31 +0000 (09:17 +0100)]
tcp: work around compiler warnings

12 years agodecodebin2: Prune old groups before switching to the new one
Youness Alaoui [Tue, 13 Sep 2011 23:14:10 +0000 (23:14 +0000)]
decodebin2: Prune old groups before switching to the new one

In order to allow for proper functionality when a decoder only supports
one instance at a time (dsp), we must block the demuxer pads when they
get created if they are not part of the active group, preventing buffers
from being sent to the decoder (and initializing it through setcaps),
then after we switch to a new group, we unblock the demuxer pads for
the active groups. In the callback for the unblock, we prune the old
groups, making sure the previous decoder instance is destroyed before
we push a buffer to the new instance.

12 years agoRemove compatibility code cruft for old GLib versions
Tim-Philipp Müller [Wed, 18 Jan 2012 17:22:21 +0000 (17:22 +0000)]
Remove compatibility code cruft for old GLib versions

12 years agoAdd ext/gio/ to CRUFT_DIRS
Tim-Philipp Müller [Wed, 18 Jan 2012 17:21:57 +0000 (17:21 +0000)]
Add ext/gio/ to CRUFT_DIRS

12 years agoencoding: port to new GLib threading API
Tim-Philipp Müller [Wed, 18 Jan 2012 17:21:36 +0000 (17:21 +0000)]
encoding: port to new GLib threading API

12 years agopango: port to new GLib threading API
Tim-Philipp Müller [Wed, 18 Jan 2012 17:21:02 +0000 (17:21 +0000)]
pango: port to new GLib threading API

12 years agoconfigure.ac: Remove GIO check, it's in gst-glib2.m4 now
Sebastian Dröge [Wed, 18 Jan 2012 15:55:45 +0000 (16:55 +0100)]
configure.ac: Remove GIO check, it's in gst-glib2.m4 now

12 years agoAutomatic update of common submodule
Sebastian Dröge [Wed, 18 Jan 2012 15:46:01 +0000 (16:46 +0100)]
Automatic update of common submodule

From 0807187 to 2a59016

12 years agogio: Move to gst subdirectory
Sebastian Dröge [Wed, 18 Jan 2012 15:19:12 +0000 (16:19 +0100)]
gio: Move to gst subdirectory

It's a plugin without external dependencies now because we
unconditionally depend on GIO anyway.

12 years agoconfigure.ac: Require GLib 2.31.10 and improve GIO check
Sebastian Dröge [Wed, 18 Jan 2012 15:15:30 +0000 (16:15 +0100)]
configure.ac: Require GLib 2.31.10 and improve GIO check

12 years agoUpdate spec file with latest changes
Christian Fredrik Kalager Schaller [Wed, 18 Jan 2012 13:16:46 +0000 (13:16 +0000)]
Update spec file with latest changes

12 years agopo: update POTFILES.in for recent changes
Tim-Philipp Müller [Wed, 18 Jan 2012 01:57:41 +0000 (01:57 +0000)]
po: update POTFILES.in for recent changes

12 years agobaseaudiosink: commit correct number of samples when not syncing
Mark Nauwelaerts [Tue, 17 Jan 2012 20:46:58 +0000 (21:46 +0100)]
baseaudiosink: commit correct number of samples when not syncing

12 years agooggstream: initialize variable
Mark Nauwelaerts [Tue, 17 Jan 2012 17:19:30 +0000 (18:19 +0100)]
oggstream: initialize variable

... to help out challenged compiler.

12 years agoconfigure: Remove socket/winsock and related checks, not necessary anymore
Sebastian Dröge [Tue, 17 Jan 2012 15:55:54 +0000 (16:55 +0100)]
configure: Remove socket/winsock and related checks, not necessary anymore

12 years agortsp: Port to GIO
Sebastian Dröge [Tue, 17 Jan 2012 15:38:45 +0000 (16:38 +0100)]
rtsp: Port to GIO

12 years agosdp: Port to GIO for multicast address detection
Sebastian Dröge [Tue, 17 Jan 2012 12:27:05 +0000 (13:27 +0100)]
sdp: Port to GIO for multicast address detection

12 years agotcp: Fix handling of closed connections
Sebastian Dröge [Tue, 17 Jan 2012 11:21:54 +0000 (12:21 +0100)]
tcp: Fix handling of closed connections

12 years agotcp: Add support for IPv6
Sebastian Dröge [Tue, 17 Jan 2012 11:08:17 +0000 (12:08 +0100)]
tcp: Add support for IPv6

12 years agoaudiodecoder: register state change function
Mark Nauwelaerts [Tue, 17 Jan 2012 10:52:49 +0000 (11:52 +0100)]
audiodecoder: register state change function

12 years agotcp: Only read as much as is currently available from the socket
Sebastian Dröge [Tue, 17 Jan 2012 10:44:20 +0000 (11:44 +0100)]
tcp: Only read as much as is currently available from the socket

12 years agotcp: Don't leak the resolver if name resolval failed
Sebastian Dröge [Tue, 17 Jan 2012 10:32:01 +0000 (11:32 +0100)]
tcp: Don't leak the resolver if name resolval failed

12 years agoconfigure: We require GIO now
Sebastian Dröge [Tue, 17 Jan 2012 10:29:26 +0000 (11:29 +0100)]
configure: We require GIO now

12 years agoalsasink: fix high sample rates being rejected
Vincent Penquerc'h [Mon, 16 Jan 2012 11:43:25 +0000 (11:43 +0000)]
alsasink: fix high sample rates being rejected

An ALSA sink may select a different rate (as we use the _set_rate_near
API, which is not guaranteed to set the exact target rate).
The rest of the code seems to already handle this well, as output
from a 88200 Hz file seems to have the correct pitch when selecting
a 96 kHz rate.

12 years agoalsasink: fix rate match message mistaking error code for sample rate
Vincent Penquerc'h [Mon, 16 Jan 2012 11:40:47 +0000 (11:40 +0000)]
alsasink: fix rate match message mistaking error code for sample rate

12 years agoalsasink: log API errors along with the error code and string
Vincent Penquerc'h [Mon, 16 Jan 2012 11:40:16 +0000 (11:40 +0000)]
alsasink: log API errors along with the error code and string

12 years agomultisocketsink: Fix possible GType namespace conflicts with the private element...
Sebastian Dröge [Mon, 16 Jan 2012 11:29:35 +0000 (12:29 +0100)]
multisocketsink: Fix possible GType namespace conflicts with the private element enums

12 years agomultisocketsink: Re-add QoS DSCP property
Sebastian Dröge [Mon, 16 Jan 2012 11:17:00 +0000 (12:17 +0100)]
multisocketsink: Re-add QoS DSCP property

12 years agotcp: Remove remaining unused stuff
Sebastian Dröge [Mon, 16 Jan 2012 10:25:54 +0000 (11:25 +0100)]
tcp: Remove remaining unused stuff

12 years agotcp: Remove old socket helper functions
Sebastian Dröge [Mon, 16 Jan 2012 10:01:10 +0000 (11:01 +0100)]
tcp: Remove old socket helper functions

12 years agotcpserversink: Port to GIO
Sebastian Dröge [Mon, 16 Jan 2012 09:08:24 +0000 (10:08 +0100)]
tcpserversink: Port to GIO

And change multifdsink to GIO too and rename it to multisocketsink
because it only works on GSockets now, not generic fds.

12 years agotcpserversrc: Port to GIO
Sebastian Dröge [Wed, 11 Jan 2012 15:06:22 +0000 (16:06 +0100)]
tcpserversrc: Port to GIO

12 years agotcpclientsink: Port to GIO
Sebastian Dröge [Wed, 11 Jan 2012 14:43:11 +0000 (15:43 +0100)]
tcpclientsink: Port to GIO

12 years agotcpclientsrc: Port to GIO
Sebastian Dröge [Wed, 11 Jan 2012 14:09:46 +0000 (15:09 +0100)]
tcpclientsrc: Port to GIO

12 years agovideopool: fix printf warning in debug message
Matej Knopp [Tue, 27 Dec 2011 03:18:19 +0000 (04:18 +0100)]
videopool: fix printf warning in debug message

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

12 years agoAndroid, Add explicit path for zlib
Reynaldo H. Verdejo Pinochet [Fri, 13 Jan 2012 19:57:15 +0000 (16:57 -0300)]
Android, Add explicit path for zlib

This change fixes building gst-libs/gst/tag/ code with
the Android buildsystem.

12 years agoFix wrong access to undefined struct member
Reynaldo H. Verdejo Pinochet [Fri, 13 Jan 2012 17:50:49 +0000 (14:50 -0300)]
Fix wrong access to undefined struct member

For the USE_TREMOLO case, GstVorbisDec doesn't have
a vb member. Besides, Tremolo's vorbis_dsp_synthesis()
expects a vorbis_dsp_state to be passed as first
argument. Not a vorbis_block.

12 years agoFix TREMELO -> TREMOLO typo
Reynaldo H. Verdejo Pinochet [Fri, 13 Jan 2012 17:47:13 +0000 (14:47 -0300)]
Fix TREMELO -> TREMOLO typo

12 years agoxvimagesink: fix leak when images are freed after the X context
Vincent Penquerc'h [Fri, 13 Jan 2012 16:52:23 +0000 (16:52 +0000)]
xvimagesink: fix leak when images are freed after the X context

I'm not 100% sure this is valid on any other X server than mine,
but since the XFree call does not take the context as a parameter,
it seems pretty certain it's the right thing to do, but I'll put
this caveat here in case someone checks in the future.

12 years agoGST_TYPE_DATE -> G_TYPE_DATE
Tim-Philipp Müller [Thu, 12 Jan 2012 23:35:44 +0000 (23:35 +0000)]
GST_TYPE_DATE -> G_TYPE_DATE

12 years agodiscoverer: fix up for GstTagList != GstStructure
Tim-Philipp Müller [Thu, 12 Jan 2012 23:25:22 +0000 (23:25 +0000)]
discoverer: fix up for GstTagList != GstStructure

12 years agoMerge remote-tracking branch 'origin/master' into 0.11
Tim-Philipp Müller [Thu, 12 Jan 2012 23:21:17 +0000 (23:21 +0000)]
Merge remote-tracking branch 'origin/master' into 0.11

Conflicts:
gst-libs/gst/pbutils/gstdiscoverer-types.c
gst-libs/gst/pbutils/gstdiscoverer.c
tests/check/Makefile.am

12 years agotests: discoverer test is now valgrind clean
Tim-Philipp Müller [Thu, 12 Jan 2012 17:31:44 +0000 (17:31 +0000)]
tests: discoverer test is now valgrind clean

12 years agotheoraparse: fix array leak
Vincent Penquerc'h [Thu, 12 Jan 2012 16:24:01 +0000 (16:24 +0000)]
theoraparse: fix array leak

12 years agodiscoverer: fix structure leak
Vincent Penquerc'h [Thu, 12 Jan 2012 14:26:05 +0000 (14:26 +0000)]
discoverer: fix structure leak

I hit the 'misc' one, but let's also make sure the topology
one get freed as well, though I do not know if this can happen
twice.

12 years agoplaysinkconvertbin: release extra ref on converter elements
Mark Nauwelaerts [Thu, 12 Jan 2012 12:57:18 +0000 (13:57 +0100)]
playsinkconvertbin: release extra ref on converter elements

12 years agoAdd missing DEFAULT_INCLUDES on androgenizer call
Reynaldo H. Verdejo Pinochet [Wed, 11 Jan 2012 23:47:00 +0000 (20:47 -0300)]
Add missing DEFAULT_INCLUDES on androgenizer call

Fix building of the libgstvideo module on Android by adding the
missing and needed $(DEFAULT_INCLUDES) to CFLAGS for the
androgenizer call on gst-libs/gst/video/Makefile.am

Before this change, building was failing due to gst-plugins-base/
and gst-plugins-base/gst-libs/gst/video being left out of the
include path.

12 years agooggdemux: fix push mode chain leak
Vincent Penquerc'h [Wed, 11 Jan 2012 16:17:42 +0000 (16:17 +0000)]
oggdemux: fix push mode chain leak

When I first implemented push mode seeking, I removed the chain
freeing there as it could be used later. The current code does not
seem to do that though, so I'm restoring the previous freeing,
which plugs the leak while apparently not reintroducing use of
freed data with chained and normal files, both with gst-launch
playbin2 and Totem.

12 years agodiscoverer: fix leaks caused by some base class dtors not being called
Vincent Penquerc'h [Wed, 11 Jan 2012 12:52:17 +0000 (12:52 +0000)]
discoverer: fix leaks caused by some base class dtors not being called

12 years agodiscoverer: fix caps and discoverer object ref leaks
Vincent Penquerc'h [Wed, 11 Jan 2012 12:16:28 +0000 (12:16 +0000)]
discoverer: fix caps and discoverer object ref leaks

12 years agodiscoverer: add a few consts where appropriate
Vincent Penquerc'h [Wed, 11 Jan 2012 11:55:59 +0000 (11:55 +0000)]
discoverer: add a few consts where appropriate

12 years agodiscoverer: fix pad leak
Vincent Penquerc'h [Wed, 11 Jan 2012 11:55:36 +0000 (11:55 +0000)]
discoverer: fix pad leak