Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
fb8075f2
Commit
fb8075f2
authored
Apr 13, 2010
by
Ilkka Ollakka
Browse files
x264: hrd option should be in from X264_BUILD >= 89
parent
878968cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/codec/x264.c
View file @
fb8075f2
...
...
@@ -481,7 +481,7 @@ vlc_module_begin ()
add_integer
(
SOUT_CFG_PREFIX
"slice-max-size"
,
0
,
NULL
,
SLICE_MAX_SIZE
,
SLICE_MAX_SIZE_LONGTEXT
,
false
)
add_integer
(
SOUT_CFG_PREFIX
"slice-max-mbs"
,
0
,
NULL
,
SLICE_MAX_MBS
,
SLICE_MAX_MBS_LONGTEXT
,
false
)
#if X264_BUILD >= 9
2
#if X264_BUILD >=
8
9
add_string
(
SOUT_CFG_PREFIX
"hrd"
,
"none"
,
NULL
,
HRD_TEXT
,
HRD_LONGTEXT
,
false
)
change_string_list
(
x264_nal_hrd_names
,
x264_nal_hrd_names
,
0
);
#endif
...
...
@@ -921,7 +921,7 @@ static int Open ( vlc_object_t *p_this )
if
(
i_val
>=
1
)
p_sys
->
param
.
analyse
.
i_subpel_refine
=
i_val
;
#if X264_BUILD >= 9
2
#if X264_BUILD >=
8
9
psz_val
=
var_GetString
(
p_enc
,
SOUT_CFG_PREFIX
"hrd"
);
if
(
!
strcmp
(
psz_val
,
"vbr"
)
)
p_sys
->
param
.
i_nal_hrd
=
X264_NAL_HRD_VBR
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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