Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
dbc7e11c
Commit
dbc7e11c
authored
Sep 06, 2012
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x264: do not use NULL terminated arrays in help item lists
Signed-off-by:
Rafaël Carré
<
funman@videolan.org
>
parent
d72aa5b3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
4 deletions
+13
-4
modules/codec/x264.c
modules/codec/x264.c
+13
-4
No files found.
modules/codec/x264.c
View file @
dbc7e11c
...
...
@@ -517,7 +517,10 @@ vlc_module_begin ()
add_string
(
SOUT_CFG_PREFIX
"profile"
,
"high"
,
PROFILE_TEXT
,
PROFILE_LONGTEXT
,
false
)
change_string_list
(
x264_profile_names
,
x264_profile_names
)
vlc_config_set
(
VLC_CONFIG_LIST
,
(
sizeof
(
x264_profile_names
)
/
sizeof
(
char
*
))
-
1
,
x264_profile_names
,
x264_profile_names
);
add_bool
(
SOUT_CFG_PREFIX
"interlaced"
,
false
,
INTERLACED_TEXT
,
INTERLACED_LONGTEXT
,
true
)
...
...
@@ -534,7 +537,9 @@ vlc_module_begin ()
#if X264_BUILD >= 89
add_string
(
SOUT_CFG_PREFIX
"hrd"
,
"none"
,
HRD_TEXT
,
HRD_TEXT
,
true
)
change_string_list
(
x264_nal_hrd_names
,
x264_nal_hrd_names
)
vlc_config_set
(
VLC_CONFIG_LIST
,
(
sizeof
(
x264_nal_hrd_names
)
/
sizeof
(
char
*
))
-
1
,
x264_nal_hrd_names
,
x264_nal_hrd_names
);
#endif
...
...
@@ -720,9 +725,13 @@ vlc_module_begin ()
STATS_LONGTEXT
,
true
)
add_string
(
SOUT_CFG_PREFIX
"preset"
,
NULL
,
PRESET_TEXT
,
PRESET_TEXT
,
false
)
change_string_list
(
x264_preset_names
,
x264_preset_names
)
vlc_config_set
(
VLC_CONFIG_LIST
,
(
sizeof
(
x264_preset_names
)
/
sizeof
(
char
*
))
-
1
,
x264_preset_names
,
x264_preset_names
);
add_string
(
SOUT_CFG_PREFIX
"tune"
,
NULL
,
TUNE_TEXT
,
TUNE_TEXT
,
false
)
change_string_list
(
x264_tune_names
,
x264_tune_names
)
vlc_config_set
(
VLC_CONFIG_LIST
,
(
sizeof
(
x264_tune_names
)
/
sizeof
(
char
*
))
-
1
,
x264_tune_names
,
x264_tune_names
);
add_string
(
SOUT_CFG_PREFIX
"options"
,
NULL
,
X264_OPTIONS_TEXT
,
X264_OPTIONS_LONGTEXT
,
true
)
...
...
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