mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
rtph26[45]depay: Don't handle NALs inside STAP units twice
They've already been handled before pushing them into the adapter.
This commit is contained in:
parent
7f294ad125
commit
7025d014bb
2 changed files with 2 additions and 10 deletions
|
@ -1055,12 +1055,8 @@ gst_rtp_h264_depay_process (GstRTPBaseDepayload * depayload, GstRTPBuffer * rtp)
|
|||
}
|
||||
|
||||
outsize = gst_adapter_available (rtph264depay->adapter);
|
||||
if (outsize > 0) {
|
||||
if (outsize > 0)
|
||||
outbuf = gst_adapter_take_buffer (rtph264depay->adapter, outsize);
|
||||
outbuf =
|
||||
gst_rtp_h264_depay_handle_nal (rtph264depay, outbuf, timestamp,
|
||||
marker);
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 26:
|
||||
|
|
|
@ -1256,12 +1256,8 @@ gst_rtp_h265_depay_process (GstRTPBaseDepayload * depayload, GstRTPBuffer * rtp)
|
|||
}
|
||||
|
||||
outsize = gst_adapter_available (rtph265depay->adapter);
|
||||
if (outsize > 0) {
|
||||
if (outsize > 0)
|
||||
outbuf = gst_adapter_take_buffer (rtph265depay->adapter, outsize);
|
||||
outbuf =
|
||||
gst_rtp_h265_depay_handle_nal (rtph265depay, outbuf, timestamp,
|
||||
marker);
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 49:
|
||||
|
|
Loading…
Reference in a new issue