mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-12 02:15:31 +00:00
rtpsession: fix compilation
This commit is contained in:
parent
1bde427250
commit
f399b6a641
1 changed files with 2 additions and 3 deletions
|
@ -2809,12 +2809,11 @@ rtp_session_on_timeout (RTPSession * sess, GstClockTime current_time,
|
|||
data.rtcp, data.is_early, &do_not_suppress);
|
||||
|
||||
if (sess->callbacks.send_rtcp && (do_not_suppress || !data.may_suppress)) {
|
||||
guint packet_size;
|
||||
|
||||
/* close the RTCP packet */
|
||||
gst_rtcp_buffer_end (data.rtcp);
|
||||
|
||||
if (sess->callbacks.send_rtcp) {
|
||||
guint packet_size;
|
||||
|
||||
packet_size = GST_BUFFER_SIZE (data.rtcp) + sess->header_len;
|
||||
|
||||
UPDATE_AVG (sess->stats.avg_rtcp_packet_size, packet_size);
|
||||
|
|
Loading…
Reference in a new issue