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:
Jürgen Slowack 2016-06-15 11:19:43 +02:00 committed by Tim-Philipp Müller
parent 6cb4208710
commit 98b62e397b

View file

@ -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. */