mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 03:35:21 +00:00
rtpsource: retain_rtcp_packet: warning if invalid running_time
This commit is contained in:
parent
36f55b03e8
commit
57829c3352
1 changed files with 2 additions and 0 deletions
|
@ -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…
Reference in a new issue