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.
This commit is contained in:
Sebastian Dröge 2014-12-16 16:37:24 +01:00
parent bf0a19bf02
commit 6b2fc2de8d

View file

@ -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)) {