rtph265depay: CRA_NUT can also start an (open) GOP
https://datatracker.ietf.org/doc/html/rfc7798#section-3.1.1 says that a CRA_NUT can start a GOP so add that to the list of nal types where VPS/SPS/PPS can be inserted. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9217>
This commit is contained in:
parent
d59cc622f2
commit
7bbff29763
@ -1094,7 +1094,8 @@ gst_rtp_h265_pay_payload_nal (GstRTPBasePayload * basepayload,
|
||||
}
|
||||
} else if (rtph265pay->vps_sps_pps_interval == -1
|
||||
&& (nal_type == GST_H265_NAL_SLICE_IDR_W_RADL
|
||||
|| nal_type == GST_H265_NAL_SLICE_IDR_N_LP)) {
|
||||
|| nal_type == GST_H265_NAL_SLICE_IDR_N_LP
|
||||
|| nal_type == GST_H265_NAL_SLICE_CRA_NUT)) {
|
||||
/* send VPS/SPS/PPS before every IDR frame */
|
||||
send_ps = TRUE;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user