Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
a9c070fa
Commit
a9c070fa
authored
Mar 08, 2009
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cosmetics (input)
parent
04ee4c9f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
src/input/input.c
src/input/input.c
+4
-5
No files found.
src/input/input.c
View file @
a9c070fa
...
...
@@ -2398,6 +2398,7 @@ static int InputSourceInit( input_thread_t *p_input,
/* Get infos from access */
if
(
!
p_input
->
b_preparsing
)
{
bool
b_can_seek
;
access_Control
(
in
->
p_access
,
ACCESS_GET_PTS_DELAY
,
&
in
->
i_pts_delay
);
...
...
@@ -2414,15 +2415,13 @@ static int InputSourceInit( input_thread_t *p_input,
in
->
b_can_rate_control
=
in
->
b_can_pace_control
;
in
->
b_rescale_ts
=
true
;
access_Control
(
in
->
p_access
,
ACCESS_CAN_PAUSE
,
&
in
->
b_can_pause
);
access_Control
(
in
->
p_access
,
ACCESS_CAN_PAUSE
,
&
in
->
b_can_pause
);
var_SetBool
(
p_input
,
"can-pause"
,
in
->
b_can_pause
||
!
in
->
b_can_pace_control
);
/* XXX temporary because of es_out_timeshift*/
var_SetBool
(
p_input
,
"can-rate"
,
!
in
->
b_can_pace_control
||
in
->
b_can_rate_control
);
/* XXX temporary because of es_out_timeshift*/
var_SetBool
(
p_input
,
"can-rewind"
,
!
in
->
b_rescale_ts
&&
!
in
->
b_can_pace_control
);
access_Control
(
in
->
p_access
,
ACCESS_CAN_SEEK
,
&
val
.
b_bool
);
var_Set
(
p_input
,
"can-seek"
,
val
);
access_Control
(
in
->
p_access
,
ACCESS_CAN_SEEK
,
&
b_can_seek
);
var_SetBool
(
p_input
,
"can-seek"
,
b_can_seek
);
}
/* */
...
...
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