Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
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
videolan
vlc
Commits
d43b4358
Commit
d43b4358
authored
Feb 04, 2015
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
H264 Packetizer: use defines for profiles
parent
07461467
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
modules/packetizer/h264.c
modules/packetizer/h264.c
+5
-4
No files found.
modules/packetizer/h264.c
View file @
d43b4358
...
...
@@ -41,6 +41,7 @@
#include <vlc_block_helper.h>
#include <vlc_bits.h>
#include "../codec/cc.h"
#include "../codec/h264_nal.h"
#include "packetizer_helper.h"
#include "../demux/mpeg/mpeg_parser_helpers.h"
...
...
@@ -789,10 +790,10 @@ static void PutSPS( decoder_t *p_dec, block_t *p_frag )
return
;
}
if
(
i_profile_idc
==
100
||
i_profile_idc
==
1
10
||
i_profile_idc
==
122
||
i_profile_idc
==
244
||
i_profile_idc
==
44
||
i_profile_idc
==
83
||
i_profile_idc
==
86
)
if
(
i_profile_idc
==
PROFILE_H264_HIGH
||
i_profile_idc
==
PROFILE_H264_HIGH_
10
||
i_profile_idc
==
PROFILE_H264_HIGH_422
||
i_profile_idc
==
PROFILE_H264_HIGH_444_PREDICTIVE
||
i_profile_idc
==
PROFILE_H264_CAVLC_INTRA
||
i_profile_idc
==
PROFILE_H264_SVC_BASELINE
||
i_profile_idc
==
PROFILE_H264_SVC_HIGH
)
{
/* chroma_format_idc */
const
int
i_chroma_format_idc
=
bs_read_ue
(
&
s
);
...
...
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