[gst-cvs] gst-plugins-base: uridecodebin: workaround internal decodebin2 failing state change
Mark Nauwelaerts
mnauw at kemper.freedesktop.org
Thu Oct 21 10:18:59 PDT 2010
Module: gst-plugins-base
Branch: master
Commit: 9d0fefc6170b6d63e869e5ac07862003816246d2
URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=9d0fefc6170b6d63e869e5ac07862003816246d2
Author: Mark Nauwelaerts <mark.nauwelaerts at collabora.co.uk>
Date: Thu Oct 21 12:24:19 2010 +0200
uridecodebin: workaround internal decodebin2 failing state change
Fixes #632656.
---
gst/playback/gsturidecodebin.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/gst/playback/gsturidecodebin.c b/gst/playback/gsturidecodebin.c
index 19af7d1..a76c950 100644
--- a/gst/playback/gsturidecodebin.c
+++ b/gst/playback/gsturidecodebin.c
@@ -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);
More information about the Gstreamer-commits
mailing list