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
27e306df
Commit
27e306df
authored
May 16, 2010
by
Ilkka Ollakka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x264: preset/tune are in from X264_BUILD >= 86
parent
0c53f514
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
modules/codec/x264.c
modules/codec/x264.c
+0
-4
No files found.
modules/codec/x264.c
View file @
27e306df
...
@@ -660,12 +660,10 @@ vlc_module_begin ()
...
@@ -660,12 +660,10 @@ vlc_module_begin ()
add_string
(
SOUT_CFG_PREFIX
"stats"
,
"x264_2pass.log"
,
NULL
,
STATS_TEXT
,
add_string
(
SOUT_CFG_PREFIX
"stats"
,
"x264_2pass.log"
,
NULL
,
STATS_TEXT
,
STATS_LONGTEXT
,
false
)
STATS_LONGTEXT
,
false
)
#if X264_BUILD >= 93
add_string
(
SOUT_CFG_PREFIX
"preset"
,
NULL
,
NULL
,
PRESET_TEXT
,
PRESET_TEXT
,
false
)
add_string
(
SOUT_CFG_PREFIX
"preset"
,
NULL
,
NULL
,
PRESET_TEXT
,
PRESET_TEXT
,
false
)
change_string_list
(
x264_preset_names
,
x264_preset_names
,
0
);
change_string_list
(
x264_preset_names
,
x264_preset_names
,
0
);
add_string
(
SOUT_CFG_PREFIX
"tune"
,
NULL
,
NULL
,
TUNE_TEXT
,
TUNE_TEXT
,
false
)
add_string
(
SOUT_CFG_PREFIX
"tune"
,
NULL
,
NULL
,
TUNE_TEXT
,
TUNE_TEXT
,
false
)
change_string_list
(
x264_tune_names
,
x264_tune_names
,
0
);
change_string_list
(
x264_tune_names
,
x264_tune_names
,
0
);
#endif
vlc_module_end
()
vlc_module_end
()
...
@@ -742,7 +740,6 @@ static int Open ( vlc_object_t *p_this )
...
@@ -742,7 +740,6 @@ static int Open ( vlc_object_t *p_this )
p_sys
->
psz_stat_name
=
NULL
;
p_sys
->
psz_stat_name
=
NULL
;
x264_param_default
(
&
p_sys
->
param
);
x264_param_default
(
&
p_sys
->
param
);
#if X264_BUILD >= 93
char
*
psz_preset
=
var_GetString
(
p_enc
,
SOUT_CFG_PREFIX
"preset"
);
char
*
psz_preset
=
var_GetString
(
p_enc
,
SOUT_CFG_PREFIX
"preset"
);
char
*
psz_tune
=
var_GetString
(
p_enc
,
SOUT_CFG_PREFIX
"tune"
);
char
*
psz_tune
=
var_GetString
(
p_enc
,
SOUT_CFG_PREFIX
"tune"
);
if
(
*
psz_preset
==
'\0'
)
if
(
*
psz_preset
==
'\0'
)
...
@@ -753,7 +750,6 @@ static int Open ( vlc_object_t *p_this )
...
@@ -753,7 +750,6 @@ static int Open ( vlc_object_t *p_this )
x264_param_default_preset
(
&
p_sys
->
param
,
psz_preset
,
psz_tune
);
x264_param_default_preset
(
&
p_sys
->
param
,
psz_preset
,
psz_tune
);
free
(
psz_preset
);
free
(
psz_preset
);
free
(
psz_tune
);
free
(
psz_tune
);
#endif
p_sys
->
param
.
i_width
=
p_enc
->
fmt_in
.
video
.
i_width
;
p_sys
->
param
.
i_width
=
p_enc
->
fmt_in
.
video
.
i_width
;
p_sys
->
param
.
i_height
=
p_enc
->
fmt_in
.
video
.
i_height
;
p_sys
->
param
.
i_height
=
p_enc
->
fmt_in
.
video
.
i_height
;
...
...
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