mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 04:31:06 +00:00
rtprtxsend: remove wrong check for payload type not having been set
1) pt can be lower than 96 2) there is no point in checking that because rtprtxsend will not even store buffers for payload types that it doesn't know about, so this case will never be reached
This commit is contained in:
parent
55746eaa4c
commit
397c4ed7a0
1 changed files with 0 additions and 5 deletions
|
@ -338,11 +338,6 @@ gst_rtp_rtx_buffer_new (GstRtpRtxSend * rtx, GstBuffer * buffer)
|
|||
/* gst_rtp_buffer_map does not map the payload so do it now */
|
||||
gst_rtp_buffer_get_payload (&rtp);
|
||||
|
||||
/* If payload type is not set through SDP/property then
|
||||
* just bump the value */
|
||||
if (fmtp < 96)
|
||||
fmtp = gst_rtp_buffer_get_payload_type (&rtp) + 1;
|
||||
|
||||
/* copy fixed header */
|
||||
mem = gst_memory_copy (rtp.map[0].memory, 0, rtp.size[0]);
|
||||
gst_buffer_append_memory (new_buffer, mem);
|
||||
|
|
Loading…
Reference in a new issue