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
d5e8b734
Commit
d5e8b734
authored
Oct 29, 2005
by
Antoine Cellerier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
allow subpel option in the 1 to 6 range for X264_BUILD >= 30 (r262)
parent
2ceb14b8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
modules/codec/x264.c
modules/codec/x264.c
+12
-2
No files found.
modules/codec/x264.c
View file @
d5e8b734
...
...
@@ -186,9 +186,15 @@ vlc_module_begin();
SCENE_LONGTEXT
,
VLC_FALSE
);
change_integer_range
(
-
1
,
100
);
add_integer
(
SOUT_CFG_PREFIX
"subpel"
,
5
,
NULL
,
SUBPEL_TEXT
,
#if X264_BUILD >= 30
add_integer
(
SOUT_CFG_PREFIX
"subpel"
,
6
,
NULL
,
SUBPEL_TEXT
,
SUBPEL_LONGTEXT
,
VLC_FALSE
);
change_integer_range
(
1
,
5
);
change_integer_range
(
1
,
6
);
#else
add_integer
(
SOUT_CFG_PREFIX
"subpel"
,
6
,
NULL
,
SUBPEL_TEXT
,
SUBPEL_LONGTEXT
,
VLC_FALSE
);
change_integer_range
(
1
,
6
);
#endif
vlc_module_end
();
...
...
@@ -350,7 +356,11 @@ static int Open ( vlc_object_t *p_this )
#if X264_BUILD >= 22
var_Get
(
p_enc
,
SOUT_CFG_PREFIX
"subpel"
,
&
val
);
#if X264_BUILD >= 30
if
(
val
.
i_int
>=
1
&&
val
.
i_int
<=
6
)
#else
if
(
val
.
i_int
>=
1
&&
val
.
i_int
<=
5
)
#endif
p_sys
->
param
.
analyse
.
i_subpel_refine
=
val
.
i_int
;
#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