summaryrefslogtreecommitdiff
path: root/gst/rtsp
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2014-12-16 16:37:24 +0100
committerSebastian Dröge <sebastian@centricular.com>2014-12-16 16:40:08 +0100
commit6b2fc2de8d4adddb394e83b463146655d1d68dd7 (patch)
treed49010d50f080e87f4e6b3105a69e64c08092d7f /gst/rtsp
parentbf0a19bf02ecca13196bedb6c13d416481f75fd7 (diff)
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.
Diffstat (limited to 'gst/rtsp')
-rw-r--r--gst/rtsp/gstrtspsrc.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/gst/rtsp/gstrtspsrc.c b/gst/rtsp/gstrtspsrc.c
index 5a9c5b75c..8fca9c4f9 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)) {