rtpsession: print value of unknown RTCP Payload Type

This adds printing the actual value of any unknown RTCP PT
to the already existing WARNING log message.

https://bugzilla.gnome.org/show_bug.cgi?id=783248
This commit is contained in:
Juan Navarro 2017-05-30 22:23:10 +02:00 committed by Sebastian Dröge
parent 246f21ac2f
commit 72d2afda18

View file

@ -2859,7 +2859,7 @@ rtp_session_process_rtcp (RTPSession * sess, GstBuffer * buffer,
rtp_session_process_feedback (sess, &packet, &pinfo, current_time); rtp_session_process_feedback (sess, &packet, &pinfo, current_time);
break; break;
default: default:
GST_WARNING ("got unknown RTCP packet"); GST_WARNING ("got unknown RTCP packet type: %d", type);
break; break;
} }
more = gst_rtcp_packet_move_to_next (&packet); more = gst_rtcp_packet_move_to_next (&packet);