Emulating behavior of gst-launch -e in gst program

Tim-Philipp Müller t.i.m at zen.co.uk
Sat Feb 2 15:39:56 PST 2013


On Sat, 2013-02-02 at 16:58 +0000, Krzysztof Konopko wrote:

> I think that gst-launch doesn't take the best approach to signal
> handling.  Use signalfd instead [1]. An example might be useful [2].
> 
> You get a file descriptor which you can watch it with g_io_add_watch()
> [3].

Yes, that would indeed be better. However, we'll probably have to keep
the old code for compatibility reasons anyway. Feel free to make a
patch :)

Cheers
 -Tim



More information about the gstreamer-devel mailing list