mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
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:
parent
08c0f15b31
commit
5e88810571
2 changed files with 6 additions and 1 deletions
|
@ -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),
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue