GNOME Bugzilla – Bug 697686
rtsp-client: send out teardown signal before tearing down
Last modified: 2014-02-25 22:28:16 UTC
Created attachment 241115 [details] [review] Send out teardown signal before tearing down The attached patch contains a suggested change in rtsp-client.c: to emit the "teardown-request" signal *before* tearing down the streams, instead of after. The advantage is that in the signal handler you get direct access to information about what streams are about to get torn down (in the GstRTSPClientState). The feature I'm working on is to log setups and teardowns for each stream. Without this patch, I have to save information about the streams separately, so it is available when it is time to log teardowns.
commit bba7c4042d1d0384affa0f94ae0cff7c1a2c9908 Author: David Svensson Fors <davidsf@axis.com> Date: Mon Apr 15 12:21:54 2013 +0200 client: send out teardown signal before tearing down The advantage is that in the signal handler you get direct access to information about what streams are about to get torn down (in the GstRTSPClientState). Fixes https://bugzilla.gnome.org/show_bug.cgi?id=697686