forked from enlightenment/efl
emotion: and now live streaming are also working.
SVN revision: 62014
This commit is contained in:
parent
171186e10c
commit
e786ef0268
|
@ -1492,6 +1492,10 @@ _emotion_gstreamer_video_pipeline_parse(Emotion_Gstreamer_Video *ev,
|
||||||
if (ev->thread)
|
if (ev->thread)
|
||||||
return EINA_FALSE;
|
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);
|
res = gst_element_get_state(ev->pipeline, NULL, NULL, GST_CLOCK_TIME_NONE);
|
||||||
if (!(res == GST_STATE_CHANGE_SUCCESS
|
if (!(res == GST_STATE_CHANGE_SUCCESS
|
||||||
|| res == GST_STATE_CHANGE_NO_PREROLL))
|
|| res == GST_STATE_CHANGE_NO_PREROLL))
|
||||||
|
|
Loading…
Reference in New Issue