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
fe5240b6
Commit
fe5240b6
authored
Aug 23, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Simplification
parent
021709ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
9 deletions
+7
-9
src/input/input.c
src/input/input.c
+7
-9
No files found.
src/input/input.c
View file @
fe5240b6
...
@@ -1538,24 +1538,22 @@ static void ControlPause( input_thread_t *p_input, mtime_t i_control_date )
...
@@ -1538,24 +1538,22 @@ static void ControlPause( input_thread_t *p_input, mtime_t i_control_date )
if
(
i_ret
)
if
(
i_ret
)
{
{
msg_Warn
(
p_input
,
"cannot set pause state"
);
msg_Warn
(
p_input
,
"cannot set pause state"
);
i_state
=
p_input
->
p
->
i_state
;
return
;
}
}
}
}
/* */
/* */
if
(
!
i_ret
)
i_ret
=
es_out_SetPauseState
(
p_input
->
p
->
p_es_out
,
p_input
->
p
->
b_can_pause
,
true
,
i_control_date
);
if
(
i_ret
)
{
{
i_ret
=
es_out_SetPauseState
(
p_input
->
p
->
p_es_out
,
p_input
->
p
->
b_can_pause
,
true
,
i_control_date
);
msg_Warn
(
p_input
,
"cannot set pause state at es_out level"
);
if
(
i_ret
)
return
;
{
msg_Warn
(
p_input
,
"cannot set pause state at es_out level"
);
i_state
=
p_input
->
p
->
i_state
;
}
}
}
/* Switch to new state */
/* Switch to new state */
input_ChangeState
(
p_input
,
i_state
);
input_ChangeState
(
p_input
,
i_state
);
}
}
static
void
ControlUnpause
(
input_thread_t
*
p_input
,
mtime_t
i_control_date
)
static
void
ControlUnpause
(
input_thread_t
*
p_input
,
mtime_t
i_control_date
)
...
...
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