diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2015-12-07 14:41:51 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2015-12-07 14:41:51 +0200 |
commit | b13b80ea3984ecc21c1fb8430e9508fcfce0802a (patch) | |
tree | a29431c6603d9fe3a3621d46d932dd6fb8f101cc | |
parent | 189c291805ecc8faebeb09e6fe4a6dd2282f0439 (diff) |
rtpsession: Add a warning if an empty RTCP packet is tried to be sent
https://bugzilla.gnome.org/show_bug.cgi?id=759119
-rw-r--r-- | gst/rtpmanager/rtpsession.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gst/rtpmanager/rtpsession.c b/gst/rtpmanager/rtpsession.c index b006a3eae..75908c00e 100644 --- a/gst/rtpmanager/rtpsession.c +++ b/gst/rtpmanager/rtpsession.c @@ -4036,6 +4036,9 @@ done: empty_buffer = gst_buffer_get_size (buffer) == 0; + if (empty_buffer) + g_warning ("rtpsession: Trying to send an empty RTCP packet"); + if (sess->callbacks.send_rtcp && !empty_buffer && (do_not_suppress || !data.may_suppress)) { guint packet_size; |