diff options
author | Aaron Boxer <boxerab@gmail.com> | 2020-03-31 15:51:27 -0400 |
---|---|---|
committer | Aaron Boxer <boxerab@gmail.com> | 2020-03-31 15:51:27 -0400 |
commit | 3b656638465e84e6d43781c0dfe57c8cdb4f37fc (patch) | |
tree | 0416713363f0a7215343afcc63410557f7ec9ca1 /gst | |
parent | ce0fb9bd29d729119f7b8ebd882d431986bb9a90 (diff) |
rtpbin: make warning messages more meaningful
Diffstat (limited to 'gst')
-rw-r--r-- | gst/rtpmanager/gstrtpbin.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/gst/rtpmanager/gstrtpbin.c b/gst/rtpmanager/gstrtpbin.c index 24e9262e3..5c5ddd233 100644 --- a/gst/rtpmanager/gstrtpbin.c +++ b/gst/rtpmanager/gstrtpbin.c @@ -3889,7 +3889,8 @@ create_recv_rtp (GstRtpBin * rtpbin, GstPadTemplate * templ, const gchar * name) /* ERRORS */ no_name: { - g_warning ("rtpbin: invalid name given"); + g_warning ("rtpbin: cannot find session id for pad: %s", + GST_STR_NULL (name)); return NULL; } create_error: @@ -4064,7 +4065,8 @@ create_recv_rtcp (GstRtpBin * rtpbin, GstPadTemplate * templ, /* ERRORS */ no_name: { - g_warning ("rtpbin: invalid name given"); + g_warning ("rtpbin: cannot find session id for pad: %s", + GST_STR_NULL (name)); return NULL; } create_error: @@ -4393,7 +4395,8 @@ create_send_rtp (GstRtpBin * rtpbin, GstPadTemplate * templ, const gchar * name) /* ERRORS */ no_name: { - g_warning ("rtpbin: invalid name given"); + g_warning ("rtpbin: cannot find session id for pad: %s", + GST_STR_NULL (name)); return NULL; } create_error: @@ -4547,7 +4550,8 @@ create_send_rtcp (GstRtpBin * rtpbin, GstPadTemplate * templ, /* ERRORS */ no_name: { - g_warning ("rtpbin: invalid name given"); + g_warning ("rtpbin: cannot find session id for pad: %s", + GST_STR_NULL (name)); return NULL; } create_error: |