mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
rtph265: fix NAL unit type parsing and SPS/PPS/VPS detection
Fixes sps/pps/vps insertion via the config-interval property. https://bugzilla.gnome.org//show_bug.cgi?id=767680
This commit is contained in:
parent
6cb4208710
commit
98b62e397b
1 changed files with 1 additions and 1 deletions
|
@ -822,7 +822,7 @@ gst_rtp_h265_pay_decode_nal (GstRtpH265Pay * payloader,
|
|||
GST_DEBUG ("NAL payload len=%u", size);
|
||||
|
||||
header = data[0];
|
||||
type = header & 0x3f;
|
||||
type = (header & 0x7e) >> 1;
|
||||
|
||||
/* We record the timestamp of the last SPS/PPS so
|
||||
* that we can insert them at regular intervals and when needed. */
|
||||
|
|
Loading…
Reference in a new issue