From: Ronald S. Bultje Date: Sun, 9 Jan 2005 18:33:38 +0000 (+0000) Subject: gst/playback/gstplaybasebin.c: Fix hanging subs. X-Git-Tag: 1.19.3~511^2~13272 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5e88810571b9985f5171943aaee724c8a01b0869;p=platform%2Fupstream%2Fgstreamer.git gst/playback/gstplaybasebin.c: Fix hanging subs. Original commit message from CVS: * gst/playback/gstplaybasebin.c: (setup_source): Fix hanging subs. --- diff --git a/ChangeLog b/ChangeLog index e79e7ff..95f59b0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2005-01-09 Ronald S. Bultje + * gst/playback/gstplaybasebin.c: (setup_source): + Fix hanging subs. + +2005-01-09 Ronald S. Bultje + * gst/playback/gstplaybasebin.c: (gst_play_base_bin_init), (gen_preroll_element), (remove_groups), (setup_subtitle), (gen_source_element), (setup_source): diff --git a/gst/playback/gstplaybasebin.c b/gst/playback/gstplaybasebin.c index 90e675e..a3cedd0 100644 --- a/gst/playback/gstplaybasebin.c +++ b/gst/playback/gstplaybasebin.c @@ -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,