if (!emotion_video)
return 0;
- fprintf (stderr, "[Emotion] [gst] Init\n");
-
ev = calloc(1, sizeof(Emotion_Gstreamer_Video));
if (!ev) return 0;
if (!ev)
return 0;
- fprintf(stderr, "[Emotion] [gst] shutdown\n");
-
ecore_main_fd_handler_del(ev->fd_ev_handler);
close(ev->fd_ev_write);
ev = (Emotion_Gstreamer_Video *)video;
- fprintf(stderr, "[Emotion] [gst] open\n");
-
ev->pipeline = gst_pipeline_new ("pipeline");
if (!ev->pipeline)
return 0;
{
Emotion_Gstreamer_Video *ev;
- fprintf(stderr, "[Emotion] [gst] play %p\n", ev->pipeline);
ev = (Emotion_Gstreamer_Video *)video;
gst_element_set_state (ev->pipeline, GST_STATE_PLAYING);
ev->play = 1;
ev->eos_timer = NULL;
}
-/* fprintf(stderr, "[Emotion] [gst] stop\n"); */
gst_element_set_state (ev->pipeline, GST_STATE_PAUSED);
ev->play = 0;
}