gst-launch-1.0 with -e or without -e

Nicolas Dufresne nicolas at ndufresne.ca
Tue Jan 17 19:01:58 UTC 2017


Le mardi 17 janvier 2017 à 10:46 -0800, killerrats a écrit :
> what you might do is:
> 
> 1. gst_element_send_event(pipeline,gst_event_new_eos());
> 
> then do your nulling and unreferencing.

Indeed -e wills end an EOS event. Though, you should wait for the EOS
message before turning off your pipeline. Otherwise the EOS event might
not yet have been processed by your sinks.

regards,
Nicolas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170117/affe57c5/attachment.sig>


More information about the gstreamer-devel mailing list