gstreamer/gst
Thiago Santos 605d5c110c playbin2: fix subtitle only seeks when switching to external subs
Sending a non-flushing seek might not be enough for switching
to an external sub that has already been used because the flushes
are needed to reset the state of its decodebin's queue.

For example, if the subtitle is short enough, the queue might get
and EOS and keep its 'unexpected' return state. If the user switches
to another subtitle and back to the external one, the buffers
won't get past the queue.

This patch fixes this by adding the flush flag to the seek and
preventing that this flush leaves the suburidecodebin.

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

Conflicts:

	gst/playback/gstplaybin2.c
2012-06-06 16:31:08 -03:00
..
adder collectpads2: rename to collectpads 2012-04-17 15:09:58 +02:00
app gst: Update for GST_PLUGIN_DEFINE() API change 2012-04-05 15:11:05 +02:00
audioconvert Use new gst_element_class_set_static_metadata() 2012-04-10 00:45:16 +01:00
audiorate Use new gst_element_class_set_static_metadata() 2012-04-10 00:45:16 +01:00
audioresample Fix bug where debug category was declared inside a function 2012-05-24 10:33:02 +02:00
audiotestsrc update for tag event change 2012-06-06 13:05:47 +02:00
encoding encodebin: don't access GstElementFactory structure directly 2012-05-19 15:17:18 +01:00
gdp gdppay: plug buffer leak 2012-04-25 22:28:44 +02:00
gio Use new gst_element_class_set_static_metadata() 2012-04-10 00:45:16 +01:00
playback playbin2: fix subtitle only seeks when switching to external subs 2012-06-06 16:31:08 -03:00
subparse update for tag event change 2012-06-06 13:05:47 +02:00
tcp tcpclientsink: ensure proper cleanup upon startup error 2012-04-24 17:15:23 +02:00
typefind typefinding, ogg: don't bother with annodex media types 2012-05-13 18:49:31 +01:00
videoconvert videoconvert: refactor matrix setup 2012-06-04 20:36:10 +02:00
videorate Use new gst_element_class_set_static_metadata() 2012-04-10 00:45:16 +01:00
videoscale video: update for removed formats 2012-05-29 17:52:06 +02:00
videotestsrc videotestsrc: Remove more redundant code 2012-06-06 11:18:56 +02:00
volume gst-libs: Remove interfaces libs and mixer/tuner interfaces 2012-04-13 13:14:13 +02:00
Makefile.am build: build plugin and example directories in parallel if make -jN is used 2010-03-29 00:26:59 +01:00