Commit 9d0fefc6 authored by Mark Nauwelaerts's avatar Mark Nauwelaerts
Browse files

uridecodebin: workaround internal decodebin2 failing state change

Fixes #632656.
parent 8cd83398
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment