From: Sebastian Dröge Date: Tue, 16 Dec 2014 15:37:24 +0000 (+0100) Subject: rtspsrc: Add something to the debug logs if an RTX AUX element can't be added X-Git-Tag: 1.6.0~710 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6b2fc2de8d4adddb394e83b463146655d1d68dd7;p=platform%2Fupstream%2Fgst-plugins-good.git rtspsrc: Add something to the debug logs if an RTX AUX element can't be added ... because the application already has a signal handler set up here. --- diff --git a/gst/rtsp/gstrtspsrc.c b/gst/rtsp/gstrtspsrc.c index 5a9c5b7..8fca9c4 100644 --- a/gst/rtsp/gstrtspsrc.c +++ b/gst/rtsp/gstrtspsrc.c @@ -3172,8 +3172,12 @@ add_retransmission (GstRTSPSrc * src, GstRTSPTransport * transport) G_OBJECT_TYPE (src->manager)); /* there's already something connected */ if (g_signal_handler_find (src->manager, G_SIGNAL_MATCH_ID, signal_id, 0, - NULL, NULL, NULL) != 0) + NULL, NULL, NULL) != 0) { + GST_DEBUG_OBJECT (src, "Not adding RTX AUX element as " + "\"request-aux-receiver\" signal is " + "already used by the application"); return; + } /* build the retransmission payload type map */ for (walk = src->streams; walk; walk = g_list_next (walk)) {