gst/playback/gstplaybasebin.c: Fix hanging subs.

Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (setup_source):
Fix hanging subs.
This commit is contained in:
Ronald S. Bultje 2005-01-09 18:33:38 +00:00
parent 08c0f15b31
commit 5e88810571
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2005-01-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
* gst/playback/gstplaybasebin.c: (setup_source):
Fix hanging subs.
2005-01-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
* gst/playback/gstplaybasebin.c: (gst_play_base_bin_init),

View file

@ -1126,9 +1126,9 @@ setup_source (GstPlayBaseBin * play_base_bin, GError ** error)
/* don't add yet, because we will preroll, and subs shouldn't
* preroll (we shouldn't preroll more than once source). */
gst_element_set_state (subbin, GST_STATE_PAUSED);
new_decoded_pad (subbin, gst_element_get_pad (subbin, "src"), FALSE,
play_base_bin);
gst_element_set_state (subbin, GST_STATE_PAUSED);
}
/* now see if the source element emits raw audio/video all by itself,