Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
adc071e6
Commit
adc071e6
authored
Sep 23, 2008
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(x264) b-adapt now takes an integer ranging from 0 to 2.
parent
6b7d5713
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
modules/codec/x264.c
modules/codec/x264.c
+10
-2
No files found.
modules/codec/x264.c
View file @
adc071e6
...
...
@@ -86,8 +86,14 @@ static void Close( vlc_object_t * );
"P-frames. Range 1 to 16." )
#define B_ADAPT_TEXT N_("Adaptive B-frame decision")
#if X264_BUILD >= 63
#define B_ADAPT_LONGTEXT N_( "Force the specified number of " \
"consecutive B-frames to be used, except possibly before an I-frame." \
"Range 0 to 2." )
#else
#define B_ADAPT_LONGTEXT N_( "Force the specified number of " \
"consecutive B-frames to be used, except possibly before an I-frame." )
#endif
#define B_BIAS_TEXT N_("Influence (bias) B-frames usage")
#define B_BIAS_LONGTEXT N_( "Bias the choice to use B-frames. Positive values " \
...
...
@@ -432,14 +438,16 @@ vlc_module_begin();
BFRAMES_LONGTEXT
,
false
);
change_integer_range
(
0
,
16
);
#if X264_BUILD >= 0x0013
/* r137 */
#if X264_BUILD >= 63
add_integer
(
SOUT_CFG_PREFIX
"b-adapt"
,
1
,
NULL
,
B_ADAPT_TEXT
,
B_ADAPT_LONGTEXT
,
false
);
#else
change_integer_range
(
0
,
2
);
#elif X264_BUILD >= 0x0013
/* r137 */
add_bool
(
SOUT_CFG_PREFIX
"b-adapt"
,
1
,
NULL
,
B_ADAPT_TEXT
,
B_ADAPT_LONGTEXT
,
false
);
#endif
#if X264_BUILD >= 0x0013
/* r137 */
add_integer
(
SOUT_CFG_PREFIX
"b-bias"
,
0
,
NULL
,
B_BIAS_TEXT
,
B_BIAS_LONGTEXT
,
false
);
change_integer_range
(
-
100
,
100
);
...
...
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