projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
189c291
)
rtpsession: Add a warning if an empty RTCP packet is tried to be sent
author
Sebastian Dröge
<sebastian@centricular.com>
Mon, 7 Dec 2015 12:41:51 +0000
(14:41 +0200)
committer
Sebastian Dröge
<sebastian@centricular.com>
Mon, 7 Dec 2015 12:41:51 +0000
(14:41 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=759119
gst/rtpmanager/rtpsession.c
patch
|
blob
|
history
diff --git
a/gst/rtpmanager/rtpsession.c
b/gst/rtpmanager/rtpsession.c
index b006a3eae6995b799a0f40b39748a65060f35b19..75908c00e6505a1ab26fd710a604054a06ca482f 100644
(file)
--- 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;