gstreamer/gst/playback
Mathieu Duponchelle 68edf0ebd6 decodebin2: Take STREAM_LOCK before sending sticky events.
There was a race where:

1) we would put the element to PAUSED
2) It would get data sent to it from upstream
3) It would thus send caps
3) caps_notify_cb would continue autoplugging
4) caps would flow downstream, the last pad would get exposed
5) we were still not done sending the sticky events

Taking the stream lock on the new element's sinkpad and only
releasing it when sticky events have all been sent prevents
the caps from reaching the source pad of the element before
we're all set.

https://bugzilla.gnome.org/show_bug.cgi?id=740694
2014-11-26 19:38:48 +01:00
..
.gitignore playsink: remove old marshal remains 2012-07-13 12:35:44 +02:00
gstdecodebin2.c decodebin2: Take STREAM_LOCK before sending sticky events. 2014-11-26 19:38:48 +01:00
gstplay-enum.c playbin: add nick for soft colorbalance play flag to fix gst-inspect 2014-04-27 00:26:14 +01:00
gstplay-enum.h playback: Add video-/audio-filter properties 2014-03-16 18:38:29 +01:00
gstplayback.c streamsynchronizer: Make the element public 2012-11-21 10:29:44 +01:00
gstplayback.h Fix FSF address 2012-11-03 23:05:09 +00:00
gstplaybin2.c docs: fix some gtk-doc warnings 2014-11-15 23:13:42 +00:00
gstplaysink.c playsink: Reset mute property of the sink to playsink's value when setting up the audio chain 2014-11-25 10:23:50 +01:00
gstplaysink.h playback: Add video-/audio-filter properties 2014-03-16 18:38:29 +01:00
gstplaysinkaudioconvert.c Fix FSF address 2012-11-03 23:05:09 +00:00
gstplaysinkaudioconvert.h Fix FSF address 2012-11-03 23:05:09 +00:00
gstplaysinkconvertbin.c playsinkconvertbin: setcaps() always returns TRUE and the return value is unused 2014-08-28 17:13:05 +03:00
gstplaysinkconvertbin.h playsinkconvertbin: Remove obsolete segment tracking 2013-07-23 13:36:09 +02:00
gstplaysinkvideoconvert.c Fix FSF address 2012-11-03 23:05:09 +00:00
gstplaysinkvideoconvert.h Fix FSF address 2012-11-03 23:05:09 +00:00
gstrawcaps.h playback: add ANY caps features to default audio/video raw caps 2013-12-30 11:25:49 +01:00
gststreamsynchronizer.c streamsynchronizer: don't unset DISCONT flag 2014-08-01 14:23:07 +02:00
gststreamsynchronizer.h streamsynchronizer: Implement grouping of streams via the group-id 2013-07-22 15:24:13 +02:00
gstsubtitleoverlay.c subtitleoverlay: return available factory CAPS instead of ANY on CAPS query 2014-11-03 08:20:13 +01:00
gstsubtitleoverlay.h subtitleoverlay: Remove some more unneeded segment tracking 2013-07-23 13:41:55 +02:00
gsturidecodebin.c uridecodebin: Removed setting "iradio-mode" property in the source element 2014-10-02 09:50:48 +03:00
Makefile.am gst: Add better support for static plugins 2013-04-15 15:52:58 +02:00