From: cedric Date: Tue, 2 Aug 2011 16:44:47 +0000 (+0000) Subject: emotion: and now live streaming are also working. X-Git-Tag: 2.0_alpha~160 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8bb95fd9febbd4a9e76266dd23eb12b7d7c63b71;p=framework%2Fuifw%2Femotion.git emotion: and now live streaming are also working. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/emotion@62014 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/modules/gstreamer/emotion_gstreamer.c b/src/modules/gstreamer/emotion_gstreamer.c index cf22e3d..d8c24c7 100644 --- a/src/modules/gstreamer/emotion_gstreamer.c +++ b/src/modules/gstreamer/emotion_gstreamer.c @@ -1493,6 +1493,10 @@ _emotion_gstreamer_video_pipeline_parse(Emotion_Gstreamer_Video *ev, return EINA_FALSE; res = gst_element_get_state(ev->pipeline, NULL, NULL, GST_CLOCK_TIME_NONE); + if (res == GST_STATE_CHANGE_NO_PREROLL) + gst_element_set_state(ev->pipeline, GST_STATE_PLAYING); + + res = gst_element_get_state(ev->pipeline, NULL, NULL, GST_CLOCK_TIME_NONE); if (!(res == GST_STATE_CHANGE_SUCCESS || res == GST_STATE_CHANGE_NO_PREROLL)) {