mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
rtph265depay: make sure we call handle_nal for each NAL
Call handle_nal for each NAL in the STAP-A RTP packet. This makes sure we correctly extract the SPS and PPS. https://bugzilla.gnome.org/show_bug.cgi?id=730999
This commit is contained in:
parent
1e55d0d725
commit
698e5bbfb5
1 changed files with 5 additions and 1 deletions
|
@ -1311,6 +1311,10 @@ gst_rtp_h265_depay_process (GstRTPBaseDepayload * depayload, GstRTPBuffer * rtp)
|
|||
gst_rtp_copy_meta (GST_ELEMENT_CAST (rtph265depay), outbuf, buf,
|
||||
g_quark_from_static_string (GST_META_TAG_VIDEO_STR));
|
||||
|
||||
outbuf =
|
||||
gst_rtp_h265_depay_handle_nal (rtph265depay, outbuf, timestamp,
|
||||
marker);
|
||||
if (outbuf)
|
||||
gst_adapter_push (rtph265depay->adapter, outbuf);
|
||||
|
||||
payload += nalu_size;
|
||||
|
|
Loading…
Reference in a new issue