mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 04:45:36 +00:00
uridecodebin: workaround internal decodebin2 failing state change
Fixes #632656.
This commit is contained in:
parent
8cd8339893
commit
9d0fefc617
1 changed files with 2 additions and 0 deletions
|
@ -1569,6 +1569,8 @@ type_found (GstElement * typefind, guint probability,
|
|||
if (!gst_element_link_pads (queue, "src", dec_elem, "sink"))
|
||||
goto could_not_link;
|
||||
|
||||
/* PLAYING in one go might fail (see bug #632782) */
|
||||
gst_element_set_state (dec_elem, GST_STATE_PAUSED);
|
||||
gst_element_set_state (dec_elem, GST_STATE_PLAYING);
|
||||
gst_element_set_state (queue, GST_STATE_PLAYING);
|
||||
|
||||
|
|
Loading…
Reference in a new issue