rtpsource: retain_rtcp_packet: warning if invalid running_time
This commit is contained in:
parent
36f55b03e8
commit
57829c3352
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user