Commit 57829c33 authored by Miguel París Díaz's avatar Miguel París Díaz Committed by Sebastian Dröge
Browse files

rtpsource: retain_rtcp_packet: warning if invalid running_time

parent 36f55b03
......@@ -1859,6 +1859,8 @@ rtp_source_retain_rtcp_packet (RTPSource * src, GstRTCPPacket * packet,
GstBuffer *buffer;
g_return_if_fail (running_time != GST_CLOCK_TIME_NONE);
buffer = gst_buffer_copy_region (packet->rtcp->buffer, GST_BUFFER_COPY_MEMORY,
packet->offset, (gst_rtcp_packet_get_length (packet) + 1) * 4);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment