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
48d4c487
Commit
48d4c487
authored
Feb 25, 2012
by
Francois Cartegnie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x264: use a list for frame packing options.
parent
7dfba6e7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
modules/codec/x264.c
modules/codec/x264.c
+6
-0
No files found.
modules/codec/x264.c
View file @
48d4c487
...
...
@@ -427,6 +427,11 @@ static const char *const direct_pred_list[] =
static
const
char
*
const
direct_pred_list_text
[]
=
{
N_
(
"none"
),
N_
(
"spatial"
),
N_
(
"temporal"
),
N_
(
"auto"
)
};
static
const
int
const
framepacking_list
[]
=
{
-
1
,
0
,
1
,
2
,
3
,
4
,
5
};
static
const
char
*
const
framepacking_list_text
[]
=
{
""
,
N_
(
"checkerboard"
),
N_
(
"column alternation"
),
N_
(
"row alternation"
),
N_
(
"side by side"
),
N_
(
"top bottom"
),
N_
(
"frame alternation"
)
};
vlc_module_begin
()
set_description
(
N_
(
"H.264/MPEG4 AVC encoder (x264)"
))
set_capability
(
"encoder"
,
200
)
...
...
@@ -510,6 +515,7 @@ vlc_module_begin ()
#if X264_BUILD >= 111
add_integer
(
SOUT_CFG_PREFIX
"frame-packing"
,
-
1
,
FRAMEPACKING_TEXT
,
FRAMEPACKING_LONGTEXT
,
true
)
change_integer_list
(
framepacking_list
,
framepacking_list_text
)
change_integer_range
(
-
1
,
5
)
#endif
...
...
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