mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
smoothstreaming: fix H264 CodecPrivateData parsing
Do not pass SPS nal_unit_type (0x67) into gst_h264_parse_sps() Fixes #648
This commit is contained in:
parent
4b06b1a56e
commit
cb0e4bffea
1 changed files with 2 additions and 2 deletions
|
@ -629,8 +629,8 @@ _gst_mss_stream_add_h264_codec_data (GstCaps * caps, const gchar * codecdatastr)
|
|||
|
||||
nalu.ref_idc = (spsinfo.data[0] & 0x60) >> 5;
|
||||
nalu.type = GST_H264_NAL_SPS;
|
||||
nalu.size = spsinfo.size;
|
||||
nalu.data = spsinfo.data;
|
||||
nalu.size = spsinfo.size - 1;
|
||||
nalu.data = spsinfo.data + 1;
|
||||
nalu.offset = 0;
|
||||
nalu.sc_offset = 0;
|
||||
nalu.valid = TRUE;
|
||||
|
|
Loading…
Reference in a new issue