[Bug 693481] gst-launch: Use signalfd() to handle keyboard interruption
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Thu Feb 14 01:12:08 PST 2013
https://bugzilla.gnome.org/show_bug.cgi?id=693481
GStreamer | gstreamer (core) | git
Sebastian Dröge <slomo> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Target Milestone|HEAD |1.1.1
--- Comment #11 from Sebastian Dröge <slomo at circular-chaos.org> 2013-02-14 09:12:01 UTC ---
commit 6099b35f7e64a80050d23fb224b1fd6b22a5f88d
Author: Krzysztof Konopko <krzysztof.konopko at gmail.com>
Date: Wed Feb 13 00:27:28 2013 +0000
gst-launch: Use g_unix_signal_add() to handle keyboard interruption
Current implementation uses a traditional signal handler and a 250ms
timeout callback in the event loop. Adding a GSource with
g_unix_signal_add() to the GMainLoop is a much more elegant solution.
The signal handler with this approach can send a message to the bus
directly rather than set a flag as all dispatching intricacies are handled
by GLib.
https://bugzilla.gnome.org/show_bug.cgi?id=693481
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list