Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
3d353c9e
Commit
3d353c9e
authored
Aug 04, 2006
by
Loren Merritt
Browse files
fix the crf option to reflect x264's API change in its revision 537
parent
afee2b7a
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/codec/x264.c
View file @
3d353c9e
...
...
@@ -795,7 +795,12 @@ static int Open ( vlc_object_t *p_this )
#if X264_BUILD >= 37
var_Get
(
p_enc
,
SOUT_CFG_PREFIX
"crf"
,
&
val
);
if
(
val
.
i_int
>=
0
&&
val
.
i_int
<=
51
)
/* crf != 0 overrides qp */
{
p_sys
->
param
.
rc
.
i_rf_constant
=
val
.
i_int
;
#if X264_BUILD >= 48
p_sys
->
param
.
rc
.
i_rc_method
=
X264_RC_CRF
;
#endif
}
#endif
#if X264_BUILD >= 39
...
...
Write
Preview
Supports
Markdown
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