gst-launch-1.0 with -e or without -e
bojan74
bojan.flander at gmail.com
Tue Jan 17 19:13:09 UTC 2017
For test I changed code now in the following way:
1. I installed ctrl-c handler
2. When ctrl-c is pressed I call suggested: gst_element_send_event(pipeline,
gst_event_new_eos());
3. Inside bus handler I just do:
case GST_MESSAGE_EOS:
g_main_loop_quit(loop);
break;
4. After g_main_loop_run I call gst_element_set_state(pipeline,
GST_STATE_NULL);
And it works now! I got video stream inside mp4 file.
Big thank to both of you!
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/gst-launch-1-0-with-e-or-without-e-tp4681497p4681511.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list