projects
/
profile
/
ivi
/
emotion.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3d34a3
)
emotion: and now live streaming are also working.
author
cedric
<cedric>
Tue, 2 Aug 2011 16:44:47 +0000
(16:44 +0000)
committer
cedric
<cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 2 Aug 2011 16:44:47 +0000
(16:44 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@62014
7cbeb6ba
-43b4-40fd-8cce-
4c39aea84d33
src/modules/gstreamer/emotion_gstreamer.c
patch
|
blob
|
history
diff --git
a/src/modules/gstreamer/emotion_gstreamer.c
b/src/modules/gstreamer/emotion_gstreamer.c
index
cf22e3d
..
d8c24c7
100644
(file)
--- 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))
{