This gives control to the notify function allowing it to finish other
watch related functionality.
https://bugzilla.gnome.org/show_bug.cgi?id=737752
{
GstRTSPWatch *watch = (GstRTSPWatch *) source;
+ if (watch->notify)
+ watch->notify (watch->user_data);
+
build_reset (&watch->builder);
gst_rtsp_message_unset (&watch->message);
g_source_unref (watch->controlsrc);
g_mutex_clear (&watch->mutex);
-
- if (watch->notify)
- watch->notify (watch->user_data);
}
static GSourceFuncs gst_rtsp_source_funcs = {