platform/upstream/gst-plugins-good.git
12 years agotests: rtpbin: port to the new GLib thread API
Mark Nauwelaerts [Tue, 11 Sep 2012 10:48:39 +0000 (12:48 +0200)]
tests: rtpbin: port to the new GLib thread API

12 years agodirectsoundsink: port to the new GLib thread API
Mark Nauwelaerts [Tue, 11 Sep 2012 10:36:56 +0000 (12:36 +0200)]
directsoundsink: port to the new GLib thread API

12 years agoqtdemux: don't reset segment
Wim Taymans [Tue, 11 Sep 2012 09:59:54 +0000 (11:59 +0200)]
qtdemux: don't reset segment

Don't reset the segment because we need the values for accumulation. the segment
is reset at start and after a flushing seek. Fixes some problems with files with
quicktime segments.

12 years agotests: fix id3demux test
Wim Taymans [Mon, 10 Sep 2012 15:14:37 +0000 (17:14 +0200)]
tests: fix id3demux test

12 years agogst: adjust comment style
Mark Nauwelaerts [Mon, 10 Sep 2012 12:31:02 +0000 (14:31 +0200)]
gst: adjust comment style

12 years agoavidemux: remove defunct commented code
Mark Nauwelaerts [Mon, 10 Sep 2012 12:30:42 +0000 (14:30 +0200)]
avidemux: remove defunct commented code

12 years agopulsesrc: consider stream alive when not connected yet
Wim Taymans [Mon, 10 Sep 2012 11:35:15 +0000 (13:35 +0200)]
pulsesrc: consider stream alive when not connected yet

When we start and renegotiate, there is a moment where the stream is created but
not yet connected. Make sure all functions deal with this situation correctly
instead of erroring out.

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

12 years agopulsesrc: don't fail when not negotiated yet
Wim Taymans [Mon, 10 Sep 2012 10:15:25 +0000 (12:15 +0200)]
pulsesrc: don't fail when not negotiated yet

When get_time is called but we are not yet negotiated, return 0 instead of
posting an error. It's possible that the base class is still negotiating when
our get_time is called.

12 years agoupdate for audio base src api change
Wim Taymans [Mon, 10 Sep 2012 09:32:25 +0000 (11:32 +0200)]
update for audio base src api change

12 years agovideo/x-3ivx and video/x-xvid -> video/mpeg,mpegversion=4
Tim-Philipp Müller [Sun, 9 Sep 2012 23:42:52 +0000 (00:42 +0100)]
video/x-3ivx and video/x-xvid -> video/mpeg,mpegversion=4

If it ever turns out that we really must use thoe specific
fourccs and not the generic one, we can still add a flavor
field to the caps later.

12 years agortspsrc: avoid leak
Daniela [Fri, 7 Sep 2012 14:15:42 +0000 (16:15 +0200)]
rtspsrc: avoid leak

When setup fails, make sure to cleanup afterwards.

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

12 years agortpamrdepay: unmap rtp buffer
Mark Nauwelaerts [Fri, 7 Sep 2012 13:23:44 +0000 (15:23 +0200)]
rtpamrdepay: unmap rtp buffer

... thereby plugging a memleak.

12 years agotests: rtp-payloading: adjust to modified bufferlist semantics
Mark Nauwelaerts [Fri, 7 Sep 2012 12:13:17 +0000 (14:13 +0200)]
tests: rtp-payloading: adjust to modified bufferlist semantics

... now implemented by buffer memory blocks.

12 years agortph264pay: avoid crashing on NULL access in debug message
Mark Nauwelaerts [Fri, 7 Sep 2012 12:11:39 +0000 (14:11 +0200)]
rtph264pay: avoid crashing on NULL access in debug message

12 years agortph263ppay: plug caps leak
Mark Nauwelaerts [Fri, 7 Sep 2012 12:11:02 +0000 (14:11 +0200)]
rtph263ppay: plug caps leak

12 years agodeinterlace: remove redundant _set_allocation call
Wim Taymans [Thu, 6 Sep 2012 15:09:20 +0000 (17:09 +0200)]
deinterlace: remove redundant _set_allocation call

12 years agotests: deinterlace: do not leak deinterlace pads
Mark Nauwelaerts [Thu, 6 Sep 2012 15:05:00 +0000 (17:05 +0200)]
tests: deinterlace: do not leak deinterlace pads

12 years agodeinterlace: plug some leaks
Mark Nauwelaerts [Thu, 6 Sep 2012 15:04:39 +0000 (17:04 +0200)]
deinterlace: plug some leaks

12 years agodeinterlace: reuse core function for GCD
Wim Taymans [Thu, 6 Sep 2012 14:49:02 +0000 (16:49 +0200)]
deinterlace: reuse core function for GCD

12 years agodeinterlace: support filter in getcaps
Mark Nauwelaerts [Thu, 6 Sep 2012 14:31:00 +0000 (16:31 +0200)]
deinterlace: support filter in getcaps

12 years agodeinterlace: do not leak getcaps result
Mark Nauwelaerts [Thu, 6 Sep 2012 14:30:44 +0000 (16:30 +0200)]
deinterlace: do not leak getcaps result

12 years agodeinterlace: add support for bufferpool
Wim Taymans [Thu, 6 Sep 2012 14:23:28 +0000 (16:23 +0200)]
deinterlace: add support for bufferpool

Add bufferpool support to avoid a memcpy in the videosink when actively
interlacing.
Remove some commented obsolete code.

12 years agodeinterlace: proxy allocation query in passthrough
Wim Taymans [Thu, 6 Sep 2012 11:38:52 +0000 (13:38 +0200)]
deinterlace: proxy allocation query in passthrough

We can let the allocation query pass when we are operating in passthrough mode.

12 years agodeinterlace: use default event functions
Wim Taymans [Thu, 6 Sep 2012 11:23:46 +0000 (13:23 +0200)]
deinterlace: use default event functions

instead of blindly forwarding unknown events.

12 years agodeinterlace: small cleanups
Wim Taymans [Thu, 6 Sep 2012 11:23:30 +0000 (13:23 +0200)]
deinterlace: small cleanups

12 years agodeinterlace: call default query handlers
Wim Taymans [Thu, 6 Sep 2012 10:56:30 +0000 (12:56 +0200)]
deinterlace: call default query handlers

Call the default query handler instead of forwarding the query blindly. Fixes
issues of strides because of proxying the allocation query wrongly.

12 years agov4l2: remove unused code.
Wim Taymans [Thu, 6 Sep 2012 08:42:21 +0000 (10:42 +0200)]
v4l2: remove unused code.

12 years agopulse: improve debug
Wim Taymans [Thu, 6 Sep 2012 08:42:06 +0000 (10:42 +0200)]
pulse: improve debug

12 years agodvdemux: remove obsolete update newsegment handling code
Mark Nauwelaerts [Wed, 5 Sep 2012 09:50:05 +0000 (11:50 +0200)]
dvdemux: remove obsolete update newsegment handling code

12 years agovideobalance: avoid deadlock
Wim Taymans [Tue, 4 Sep 2012 10:35:53 +0000 (12:35 +0200)]
videobalance: avoid deadlock

_update_properties takes the object lock and should not be called when the
object lock is already taken.

12 years agomatroskamux: extract interlaced-ness of video track from interlace-mode field
Tim-Philipp Müller [Mon, 3 Sep 2012 11:46:03 +0000 (12:46 +0100)]
matroskamux: extract interlaced-ness of video track from interlace-mode field

instead of the old boolean "interlaced" field.

12 years agovideo/x-xvid -> video/mpeg,mpegversion=4
Tim-Philipp Müller [Mon, 3 Sep 2012 01:51:24 +0000 (02:51 +0100)]
video/x-xvid -> video/mpeg,mpegversion=4

12 years agotext/plain + text/x-pango-markup -> text/x-raw
Tim-Philipp Müller [Sun, 2 Sep 2012 01:50:50 +0000 (02:50 +0100)]
text/plain + text/x-pango-markup -> text/x-raw

12 years agogst_message_new_duration -> gst_message_new_duration_changed
Tim-Philipp Müller [Sun, 2 Sep 2012 00:31:53 +0000 (01:31 +0100)]
gst_message_new_duration -> gst_message_new_duration_changed

12 years agosession: also stop probatation on existing sources
Wim Taymans [Thu, 30 Aug 2012 20:07:24 +0000 (22:07 +0200)]
session: also stop probatation on existing sources

Receiving an RTCP packet should also stop probation on sources we have seen
before.

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

12 years agortp: make rtp packet probation configurable (bug #682512)
Aleix Conchillo Flaque [Wed, 22 Aug 2012 23:36:21 +0000 (16:36 -0700)]
rtp: make rtp packet probation configurable (bug #682512)

12 years agogdkpixbuf: adjust to modified video overlay composition API
Mark Nauwelaerts [Thu, 30 Aug 2012 10:21:01 +0000 (12:21 +0200)]
gdkpixbuf: adjust to modified video overlay composition API

12 years agoflacparse: fixup 0.11 port of suspect frame checking
Mark Nauwelaerts [Thu, 30 Aug 2012 09:30:01 +0000 (11:30 +0200)]
flacparse: fixup 0.11 port of suspect frame checking

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

12 years agoavidemux: avoid invalid H264 bytestream codec_data
Mark Nauwelaerts [Tue, 28 Aug 2012 16:56:19 +0000 (18:56 +0200)]
avidemux: avoid invalid H264 bytestream codec_data

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

12 years agoqtdemux: port segment event creation to 0.11
Mark Nauwelaerts [Tue, 28 Aug 2012 17:00:44 +0000 (19:00 +0200)]
qtdemux: port segment event creation to 0.11

12 years agoqtdemux: release extra event ref when replacing pending newsegment event
Mark Nauwelaerts [Tue, 28 Aug 2012 14:28:13 +0000 (16:28 +0200)]
qtdemux: release extra event ref when replacing pending newsegment event

12 years agoisomp4: add DASH tfdt box support
David Corvoysier [Tue, 3 Jul 2012 15:50:24 +0000 (17:50 +0200)]
isomp4: add DASH tfdt box support

MPEG DASH has defined a set of new boxes to specify duration, indexes and
offsets of ISOBMFF fragments.

The Track Fragment Base Media Decode Time (tfdt) Box can in particular be
included inside a traf box to specify the absolute decode time, measured on the
media timeline, of the first sample in decode order in the track fragment.

This information can be used by the isomp4 demux to find out the current position of
an MP4 fragment in the timeline.

This patch adds code to isomp4 to:
- parse the tfdt box
- adjust the time/position member of the new segment sent when playback starts

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

12 years agodocs: gst-launch -> gst-launch-1.0 and ffmpegcolorspace -> videoconvert
Tim-Philipp Müller [Sun, 26 Aug 2012 21:39:55 +0000 (22:39 +0100)]
docs: gst-launch -> gst-launch-1.0 and ffmpegcolorspace -> videoconvert

12 years agodocs: gst-launch-0.11 -> gst-launch-1.0
Tim-Philipp Müller [Sun, 26 Aug 2012 21:32:54 +0000 (22:32 +0100)]
docs: gst-launch-0.11 -> gst-launch-1.0

12 years agodeinterlace: the field in caps is "interlace-mode" not "interlace-method"
Tim-Philipp Müller [Sun, 26 Aug 2012 21:08:54 +0000 (22:08 +0100)]
deinterlace: the field in caps is "interlace-mode" not "interlace-method"

Fix deinterlace unit test. Need to set right field on output caps.
Also remove right field (not old 0.10 "interlaced" boolean field)
from caps in unit test before comparing old and new.

12 years agotests: fix icydemux unit test
Tim-Philipp Müller [Sun, 26 Aug 2012 20:45:44 +0000 (21:45 +0100)]
tests: fix icydemux unit test

Was waiting for a tag message on the bus, which would never
come, because elements don't post those themselves any more
but let sinks post them from tag events. Only that there are
no sinks in this unit test.

12 years agotests: fix videocrop crop_to_1x1 unit test for GRAY8 format
Tim-Philipp Müller [Sun, 26 Aug 2012 20:27:00 +0000 (21:27 +0100)]
tests: fix videocrop crop_to_1x1 unit test for GRAY8 format

Update table with pixel values with the value actually produced
by videotestsrc.

12 years agopulsesrc: Only print caps if they're provided
Sjoerd Simons [Mon, 27 Aug 2012 07:00:45 +0000 (09:00 +0200)]
pulsesrc: Only print caps if they're provided

12 years agovideomixer: fix endianness check on systems where non-glib endianness defines are...
Michael Rubinstein [Fri, 24 Aug 2012 18:43:08 +0000 (19:43 +0100)]
videomixer: fix endianness check on systems where non-glib endianness defines are not set

On Windows LITTLE_ENDIAN without the G_ in was not defined,  so the
test comes out wrong.

12 years agoudpsink: don't crash on NULL error
Wim Taymans [Wed, 22 Aug 2012 15:23:25 +0000 (17:23 +0200)]
udpsink: don't crash on NULL error

Check if there is an error before retrieving its message.

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

12 years agoAutomatic update of common submodule
Stefan Sauer [Wed, 22 Aug 2012 11:30:19 +0000 (13:30 +0200)]
Automatic update of common submodule

From 668acee to 4f962f7

12 years agoconfigure: bump gtk-doc req to 1.12 (mar-2009)
Stefan Sauer [Wed, 22 Aug 2012 11:18:00 +0000 (13:18 +0200)]
configure: bump gtk-doc req to 1.12 (mar-2009)

This allows us to e.g. unconditionally use gtkdoc-rebase.

12 years agoosxvideosink: Make osxvideosink use the non-deprecated threading api from glib.
Martin Ertsaas [Wed, 22 Aug 2012 09:21:38 +0000 (11:21 +0200)]
osxvideosink: Make osxvideosink use the non-deprecated threading api from glib.

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

12 years agopulsesrc: Handle negotiation events
Arun Raghavan [Tue, 14 Aug 2012 10:10:31 +0000 (15:40 +0530)]
pulsesrc: Handle negotiation events

This makes sure that we:

a) Destroy an existing stream if a negotiate() request comes in: this is
required when receiving a downstream renegotiation request after a
stream has been created.

b) Create a new stream on prepare(): this is required since we do a
setcaps() in negotiate(), which causes the stream to be dropped by a
ringbuffer release() call (this does not happen during first negotiation
since the release is only done on a running ringbuffer). The subsequent
call to ringbuffer acquire() fails because the stream was lost on
release().

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

12 years agopulse: Clear unpositioned flag when setting positions
Arun Raghavan [Tue, 14 Aug 2012 10:08:27 +0000 (15:38 +0530)]
pulse: Clear unpositioned flag when setting positions

If converting a PA channel map to gst channel positions results in a
valid set of channel positions, we clear the unpositioned flag from the
ringbuffer spec.

12 years agopulsesrc: Remove redundant channel-mask setting for stereo case
Arun Raghavan [Tue, 14 Aug 2012 04:07:45 +0000 (09:37 +0530)]
pulsesrc: Remove redundant channel-mask setting for stereo case

The gstaudio helper libraries already take care of this case for us.

12 years agopulsesrc: Don't use memset to set invalid channel positions
Arun Raghavan [Tue, 14 Aug 2012 04:06:30 +0000 (09:36 +0530)]
pulsesrc: Don't use memset to set invalid channel positions

This itereates over the GstAudioInfo to set invalid channel positions
rather than use memset() which works right now because it assumes that
GST_AUDIO_CHANNEL_POSITION_INVALID is -1.

12 years agogdkpixbufsink: minor docs improvement
Tim-Philipp Müller [Wed, 22 Aug 2012 09:30:04 +0000 (10:30 +0100)]
gdkpixbufsink: minor docs improvement

12 years agogdkpixbuf: re-enable already-ported gdkpixbufsink
Tim-Philipp Müller [Wed, 22 Aug 2012 09:23:24 +0000 (10:23 +0100)]
gdkpixbuf: re-enable already-ported gdkpixbufsink

12 years agogdkpixbuf: port gdkpixbufoverlay element to 0.11
Tim-Philipp Müller [Wed, 22 Aug 2012 09:08:08 +0000 (10:08 +0100)]
gdkpixbuf: port gdkpixbufoverlay element to 0.11

12 years agogdkpixbuf: re-enable already-ported gdkpixbuf element as gdkpixbufdec
Tim-Philipp Müller [Tue, 21 Aug 2012 23:00:46 +0000 (00:00 +0100)]
gdkpixbuf: re-enable already-ported gdkpixbuf element as gdkpixbufdec

Not sure why it as disabled exactly given that it had already
been ported (though without metas or baseclass).

Move plugin_init bits into separate source file, and rename
decoder element to gdkpixbufdec.

12 years agogdkpixbuf: remove old and unused gst_loader source file
Tim-Philipp Müller [Tue, 21 Aug 2012 22:25:47 +0000 (23:25 +0100)]
gdkpixbuf: remove old and unused gst_loader source file

Once upon a time used to load GStreamer vids via GdkPixbuf API.

12 years agortspsrc: make jitterbuffer drop-on-latency available (fix #682055)
Aleix Conchillo Flaque [Thu, 16 Aug 2012 23:51:16 +0000 (16:51 -0700)]
rtspsrc: make jitterbuffer drop-on-latency available (fix #682055)

Conflicts:

gst/rtsp/gstrtspsrc.h

12 years agov4l2: make gst_v4l2_fill_lists() adapt to kernel 3.3+
Huacai Chen [Tue, 21 Aug 2012 11:47:45 +0000 (19:47 +0800)]
v4l2: make gst_v4l2_fill_lists() adapt to kernel 3.3+

When do v4l2_ioctl() with VIDIOC_ENUMINPUT fails on some devices,
kernels before 3.3.0 return EINVAL, but newer kernels return ENOTTY.
This patch make those devices work well on kernel 3.3+.

Related kernel commit:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commit;h=07d106d0a33d6063d2061305903deb02489eba20

Signed-off-by: Huacai Chen <chenhc@lemote.com>
Signed-off-by: Rui Wang <wangr@lemote.com>
Signed-off-by: Jie Chen <chenj@lemote.com>
12 years agovideo/x-dvd-subpicture -> subpicture/x-dvd
Tim-Philipp Müller [Mon, 20 Aug 2012 22:30:38 +0000 (23:30 +0100)]
video/x-dvd-subpicture -> subpicture/x-dvd

12 years agomultifilesrc: fix example pipeline in docs
Tim-Philipp Müller [Fri, 17 Aug 2012 19:52:42 +0000 (20:52 +0100)]
multifilesrc: fix example pipeline in docs

12 years agoequalizer: enable presets for the n-band equalizer
Stefan Sauer [Fri, 17 Aug 2012 12:59:57 +0000 (14:59 +0200)]
equalizer: enable presets for the n-band equalizer

Add a test for saving and restoring the preset.

12 years agodeinterlace: fix not-negotiated errors on variable or missing framerate in input...
Tim-Philipp Müller [Tue, 14 Aug 2012 00:20:19 +0000 (01:20 +0100)]
deinterlace: fix not-negotiated errors on variable or missing framerate in input caps

Remove some bogus code I added during porting that would error out
on missing or variable framerates in input caps. Handle this like
we do in 0.10

Fixes test_mode_disabled_passthrough unit test check.

12 years agolaw: Filter layout caps field
Sjoerd Simons [Sun, 12 Aug 2012 11:16:32 +0000 (13:16 +0200)]
law: Filter layout caps field

The layout caps field shouldn't be passed through to the sink pad
of {mu,a}lawdec.

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

12 years agoflacenc: allow a TOC with single alternative top-level entry
Anton Belka [Thu, 9 Aug 2012 16:41:34 +0000 (19:41 +0300)]
flacenc: allow a TOC with single alternative top-level entry

Allow a TOC that has a single alternative top-level entry
with multiple sequence sub-entries

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

12 years agoconfigure: And fix the GTK check to use the correct pkg-config package name
Sebastian Dröge [Thu, 9 Aug 2012 08:31:39 +0000 (10:31 +0200)]
configure: And fix the GTK check to use the correct pkg-config package name

12 years agoconfigure: Fix GTK required version variable name
Sebastian Dröge [Thu, 9 Aug 2012 08:25:38 +0000 (10:25 +0200)]
configure: Fix GTK required version variable name

12 years agov4l2: fix build with recent kernels, the v4l2_buffer input field was removed
Matthias Clasen [Thu, 9 Aug 2012 07:35:23 +0000 (08:35 +0100)]
v4l2: fix build with recent kernels, the v4l2_buffer input field was removed

This was unused apparently and removed in the kernel in commit:

 From 2b719d7baf490e24ce7d817c6337b7c87fda84c1 Mon Sep 17 00:00:00 2001
 From: Sakari Ailus <sakari.ailus@iki.fi>
 Date: Wed, 2 May 2012 09:40:03 -0300
 Subject: [PATCH] [media] v4l: drop v4l2_buffer.input and V4L2_BUF_FLAG_INPUT

 Remove input field in struct v4l2_buffer and flag V4L2_BUF_FLAG_INPUT which
 tells the former is valid. The flag is used by no driver currently.

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

Conflicts:
sys/v4l2/gstv4l2bufferpool.c

12 years agortph264pay: Make it actually work after cleanups
Olivier Crête [Thu, 9 Aug 2012 00:25:36 +0000 (17:25 -0700)]
rtph264pay: Make it actually work after cleanups

12 years agogst: Set alignment at the correct place of GstAllocationParams
Sebastian Dröge [Wed, 8 Aug 2012 15:39:07 +0000 (17:39 +0200)]
gst: Set alignment at the correct place of GstAllocationParams

12 years agoBack to development
Tim-Philipp Müller [Wed, 8 Aug 2012 15:25:58 +0000 (16:25 +0100)]
Back to development

12 years agoRelease 0.11.93 RELEASE-0.11.93
Tim-Philipp Müller [Wed, 8 Aug 2012 14:22:04 +0000 (15:22 +0100)]
Release 0.11.93

12 years agowin32: add generated tuner-marshal/enumtypes files for v4l2src and update
Tim-Philipp Müller [Wed, 8 Aug 2012 14:17:22 +0000 (15:17 +0100)]
win32: add generated tuner-marshal/enumtypes files for v4l2src and update

And gst-indent the right rtp marshal files; add missing files to MANIFEST.

12 years agogst: update disted orc files
Tim-Philipp Müller [Wed, 8 Aug 2012 14:10:37 +0000 (15:10 +0100)]
gst: update disted orc files

12 years agoSilence some 'variable may be used uninitialized' compiler warnings
Tim-Philipp Müller [Wed, 8 Aug 2012 10:31:59 +0000 (11:31 +0100)]
Silence some 'variable may be used uninitialized' compiler warnings

When compiling with -DG_DISABLE_ASSERT

12 years agoNo code with side-effects inside g_assert() please
Tim-Philipp Müller [Wed, 8 Aug 2012 09:56:51 +0000 (10:56 +0100)]
No code with side-effects inside g_assert() please

12 years agomultiudpsink: Return FLUSHING instead of ERROR on unlock
Olivier Crête [Tue, 7 Aug 2012 18:14:21 +0000 (11:14 -0700)]
multiudpsink: Return FLUSHING instead of ERROR on unlock

If the base class asks multiudpsink to unlock, then it should return
FLUSHING, not ERROR

12 years agoflacenc: add TOC support
Anton Belka [Thu, 26 Jul 2012 13:19:57 +0000 (16:19 +0300)]
flacenc: add TOC support

Add TOC as embedded cuesheets in flac files.

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

12 years agoflacparse: generate empty vorbiscomment for complete streamheaders if needed
Mark Nauwelaerts [Tue, 7 Aug 2012 10:12:09 +0000 (12:12 +0200)]
flacparse: generate empty vorbiscomment for complete streamheaders if needed

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

12 years agortpssrcdemux: Block pad while it is announced.
Olivier Crête [Tue, 7 Aug 2012 01:02:50 +0000 (18:02 -0700)]
rtpssrcdemux: Block pad while it is announced.

Block the RTP pad and associated RTCP pads while they are being
announced. This it to prevent a race where one is announced and
before the callback has connected it, the other one gets a buffer.

We can't use the "padlock" of ssrcdemux because it causes deadlocks.

12 years agocommon: un-do accidental common update revert in commit 7b5925b5
Tim-Philipp Müller [Mon, 6 Aug 2012 14:00:57 +0000 (15:00 +0100)]
common: un-do accidental common update revert in commit 7b5925b5

12 years agortpmparobustdepay: set correct data_size for generated dummy frame
Mark Nauwelaerts [Mon, 6 Aug 2012 12:50:53 +0000 (14:50 +0200)]
rtpmparobustdepay: set correct data_size for generated dummy frame

... which prevents getting stuck in a loop if such one is needed.

12 years agortpmparobustdepay: improve and fix debug statement
Mark Nauwelaerts [Mon, 6 Aug 2012 12:50:03 +0000 (14:50 +0200)]
rtpmparobustdepay: improve and fix debug statement

... so it really informs about next rather than past frame.

12 years agortpmparobustdepay: update available bytewriter space when repositioning
Mark Nauwelaerts [Mon, 6 Aug 2012 10:34:55 +0000 (12:34 +0200)]
rtpmparobustdepay: update available bytewriter space when repositioning

... and add some more assert to catch potential surprises early on.

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

12 years agogst: Add stream-id to stream-start events
Sebastian Dröge [Sat, 4 Aug 2012 10:47:44 +0000 (12:47 +0200)]
gst: Add stream-id to stream-start events

12 years agomatroskademux: Chain up to the parent class' query handler if no pad is provided
Sebastian Dröge [Sat, 4 Aug 2012 10:54:32 +0000 (12:54 +0200)]
matroskademux: Chain up to the parent class' query handler if no pad is provided

12 years agoosxvideosink: add a better detection for the main run loop
Andoni Morales Alastruey [Wed, 1 Aug 2012 23:48:29 +0000 (01:48 +0200)]
osxvideosink: add a better detection for the main run loop

12 years agodirectsoundsink: Do not overwrite the DS buffer when testing for AC3 support
Xavi Artigas [Fri, 27 Jul 2012 14:13:49 +0000 (16:13 +0200)]
directsoundsink: Do not overwrite the DS buffer when testing for AC3 support

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

Conflicts:
sys/directsound/gstdirectsoundsink.c

12 years agoAutomatic update of common submodule
Tim-Philipp Müller [Sun, 5 Aug 2012 15:39:23 +0000 (16:39 +0100)]
Automatic update of common submodule

From 94ccf4c to 668acee

12 years agortpssrcdemux: Release lock before signalling new pad
Olivier Crête [Fri, 3 Aug 2012 15:13:52 +0000 (16:13 +0100)]
rtpssrcdemux: Release lock before signalling new pad

This prevents a deadlock where something would try to push an event
through the SSRC demux from the callback, causing the pads to be iterated
and the lock taken.

12 years agogst_tag_list_free -> gst_tag_list_unref
Tim-Philipp Müller [Sat, 4 Aug 2012 15:10:16 +0000 (16:10 +0100)]
gst_tag_list_free -> gst_tag_list_unref

12 years agortspsrc: manage race between connection closing and flushing
Mark Nauwelaerts [Fri, 3 Aug 2012 12:10:32 +0000 (14:10 +0200)]
rtspsrc: manage race between connection closing and flushing

... where the former can happen in task thread and the latter in mainloop
upon downward state change.

12 years agoflacdec: improve and relax audio frame parsing
Mark Nauwelaerts [Fri, 3 Aug 2012 12:02:23 +0000 (14:02 +0200)]
flacdec: improve and relax audio frame parsing

... so as to properly recognize first audio frame.

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

Conflicts:

ext/flac/gstflacdec.c

12 years agoqtdemux: fix double unref of private tag buffer
René Stadler [Wed, 1 Aug 2012 10:16:41 +0000 (12:16 +0200)]
qtdemux: fix double unref of private tag buffer

12 years agowavparse: create TOC as needed
Anton Belka [Mon, 30 Jul 2012 14:54:51 +0000 (17:54 +0300)]
wavparse: create TOC as needed

Avoid creating the toc if the wav has no or empty cue chunk.
Also a small code cleanup.