git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@63497
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
ev = (Emotion_Gstreamer_Video *)video;
- if (!_emotion_gstreamer_video_pipeline_parse(ev, EINA_FALSE))
- goto on_error;
+ if (ev->pipeline && (!ev->video_stream_nbr || !ev->video_streams))
+ if (!_emotion_gstreamer_video_pipeline_parse(ev, EINA_FALSE))
+ goto on_error;
vstream = eina_list_nth(ev->video_streams, ev->video_stream_nbr - 1);
if (vstream)
#else
# warning "no ecore_x or xoverlay"
#endif
- fprintf(stderr, "sink: %p\n", sink);
if (!sink)
{
sink = gst_element_factory_make("emotion-sink", "sink");