rtpsession: degrade g_warning to GST_ERROR

So we don't blow up while investigating
This commit is contained in:
Havard Graff 2016-02-05 14:19:25 +01:00 committed by Olivier Crête
parent 11b7575cff
commit babc591707

View file

@ -4086,7 +4086,7 @@ done:
empty_buffer = gst_buffer_get_size (buffer) == 0;
if (empty_buffer)
g_warning ("rtpsession: Trying to send an empty RTCP packet");
GST_ERROR ("rtpsession: Trying to send an empty RTCP packet");
if (sess->callbacks.send_rtcp &&
!empty_buffer && (do_not_suppress || !data.may_suppress)) {