Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
13
Issues
13
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
f6384a0d
Commit
f6384a0d
authored
Dec 20, 2015
by
François Cartegnie
🤞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
packetizer: h264: add more nal unit types
parent
fb4119ba
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
2 deletions
+16
-2
modules/packetizer/h264.c
modules/packetizer/h264.c
+1
-1
modules/packetizer/h264_nal.h
modules/packetizer/h264_nal.h
+15
-1
No files found.
modules/packetizer/h264.c
View file @
f6384a0d
...
...
@@ -518,7 +518,7 @@ static block_t *ParseNALBlock( decoder_t *p_dec, bool *pb_ts_used, block_t *p_fr
}
else
if
(
i_nal_type
==
H264_NAL_AU_DELIMITER
||
i_nal_type
==
H264_NAL_SEI
||
(
i_nal_type
>=
13
&&
i_nal_type
<=
18
)
)
(
i_nal_type
>=
H264_NAL_SPS_EXT
&&
i_nal_type
<=
H264_NAL_RESERVED_
18
)
)
{
if
(
p_sys
->
b_slice
)
p_pic
=
OutputPicture
(
p_dec
);
...
...
modules/packetizer/h264_nal.h
View file @
f6384a0d
...
...
@@ -60,8 +60,22 @@ enum h264_nal_unit_type_e
H264_NAL_SEI
=
6
,
/* ref_idc == 0 */
H264_NAL_SPS
=
7
,
H264_NAL_PPS
=
8
,
H264_NAL_AU_DELIMITER
=
9
H264_NAL_AU_DELIMITER
=
9
,
/* ref_idc == 0 for 6,9,10,11,12 */
H264_NAL_END_OF_SEQ
=
10
,
H264_NAL_END_OF_STREAM
=
11
,
H264_NAL_FILLER_DATA
=
12
,
H264_NAL_SPS_EXT
=
13
,
H264_NAL_PREFIX
=
14
,
H264_NAL_SUBSET_SPS
=
15
,
H264_NAL_DEPTH_PS
=
16
,
H264_NAL_RESERVED_17
=
17
,
H264_NAL_RESERVED_18
=
18
,
H264_NAL_SLICE_WP
=
19
,
H264_NAL_SLICE_EXT
=
20
,
H264_NAL_SLICE_3D_EXT
=
21
,
H264_NAL_RESERVED_22
=
22
,
H264_NAL_RESERVED_23
=
23
,
};
/* Defined in H.264 annex D */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment