projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6cb4208
)
rtph265: fix NAL unit type parsing and SPS/PPS/VPS detection
author
Jürgen Slowack
<jurgen.slowack@barco.com>
Wed, 15 Jun 2016 09:19:43 +0000
(11:19 +0200)
committer
Tim-Philipp Müller
<tim@centricular.com>
Wed, 15 Jun 2016 12:10:50 +0000
(13:10 +0100)
Fixes sps/pps/vps insertion via the config-interval property.
https://bugzilla.gnome.org//show_bug.cgi?id=767680
gst/rtp/gstrtph265pay.c
patch
|
blob
|
history
diff --git
a/gst/rtp/gstrtph265pay.c
b/gst/rtp/gstrtph265pay.c
index
3dc9b8f
..
4d5da13
100644
(file)
--- a/
gst/rtp/gstrtph265pay.c
+++ b/
gst/rtp/gstrtph265pay.c
@@
-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. */