Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
444c6a06
Commit
444c6a06
authored
Sep 28, 2010
by
Ilkka Ollakka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x264: use default libx264 lookahead-value
parent
57766ff3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
modules/codec/x264.c
modules/codec/x264.c
+6
-7
No files found.
modules/codec/x264.c
View file @
444c6a06
...
@@ -378,8 +378,7 @@ static void Close( vlc_object_t * );
...
@@ -378,8 +378,7 @@ static void Close( vlc_object_t * );
#define LOOKAHEAD_TEXT N_("Framecount to use on frametype lookahead")
#define LOOKAHEAD_TEXT N_("Framecount to use on frametype lookahead")
#define LOOKAHEAD_LONGTEXT N_("Framecount to use on frametype lookahead. " \
#define LOOKAHEAD_LONGTEXT N_("Framecount to use on frametype lookahead. " \
"Currently default is lower than x264 default because unmuxable output" \
"Currently default can cause sync-issues on unmuxable output, like rtsp-output without ts-mux" )
"doesn't handle larger values that well yet" )
#define HRD_TEXT N_("HRD-timing information")
#define HRD_TEXT N_("HRD-timing information")
#define HRD_LONGTEXT N_("HRD-timing information")
#define HRD_LONGTEXT N_("HRD-timing information")
...
@@ -618,7 +617,7 @@ vlc_module_begin ()
...
@@ -618,7 +617,7 @@ vlc_module_begin ()
TRELLIS_LONGTEXT
,
false
)
TRELLIS_LONGTEXT
,
false
)
change_integer_range
(
0
,
2
)
change_integer_range
(
0
,
2
)
add_integer
(
SOUT_CFG_PREFIX
"lookahead"
,
5
,
NULL
,
LOOKAHEAD_TEXT
,
add_integer
(
SOUT_CFG_PREFIX
"lookahead"
,
40
,
NULL
,
LOOKAHEAD_TEXT
,
LOOKAHEAD_LONGTEXT
,
false
)
LOOKAHEAD_LONGTEXT
,
false
)
change_integer_range
(
0
,
60
)
change_integer_range
(
0
,
60
)
...
@@ -1242,10 +1241,10 @@ static int Open ( vlc_object_t *p_this )
...
@@ -1242,10 +1241,10 @@ static int Open ( vlc_object_t *p_this )
vlc_mutex_unlock
(
&
pthread_win32_mutex
);
vlc_mutex_unlock
(
&
pthread_win32_mutex
);
#endif
#endif
/* Set lookahead value to lower than default,
if
(
var_GetInteger
(
p_enc
,
SOUT_CFG_PREFIX
"lookahead"
)
!=
40
)
* as rtp-output without mux doesn't handle
{
* difference that well yet*/
p_sys
->
param
.
rc
.
i_lookahead
=
var_GetInteger
(
p_enc
,
SOUT_CFG_PREFIX
"lookahead"
);
p_sys
->
param
.
rc
.
i_lookahead
=
var_GetInteger
(
p_enc
,
SOUT_CFG_PREFIX
"lookahead"
);
}
/* We don't want repeated headers, we repeat p_extra ourself if needed */
/* We don't want repeated headers, we repeat p_extra ourself if needed */
p_sys
->
param
.
b_repeat_headers
=
0
;
p_sys
->
param
.
b_repeat_headers
=
0
;
...
...
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