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
021709ec
Commit
021709ec
authored
Aug 23, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Simplification
parent
b1cb50d4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
src/input/input.c
src/input/input.c
+3
-6
No files found.
src/input/input.c
View file @
021709ec
...
...
@@ -1698,8 +1698,9 @@ static bool Control( input_thread_t *p_input,
}
case
INPUT_CONTROL_SET_STATE
:
if
(
(
val
.
i_int
==
PLAYING_S
&&
p_input
->
p
->
i_state
==
PAUSE_S
)
||
(
val
.
i_int
==
PAUSE_S
&&
p_input
->
p
->
i_state
==
PAUSE_S
)
)
if
(
val
.
i_int
!=
PLAYING_S
&&
val
.
i_int
!=
PAUSE_S
)
msg_Err
(
p_input
,
"invalid state in INPUT_CONTROL_SET_STATE"
);
else
if
(
p_input
->
p
->
i_state
==
PAUSE_S
)
{
ControlUnpause
(
p_input
,
i_control_date
);
...
...
@@ -1719,10 +1720,6 @@ static bool Control( input_thread_t *p_input,
/* Correct "state" value */
input_ChangeState
(
p_input
,
p_input
->
p
->
i_state
);
}
else
if
(
val
.
i_int
!=
PLAYING_S
&&
val
.
i_int
!=
PAUSE_S
)
{
msg_Err
(
p_input
,
"invalid state in INPUT_CONTROL_SET_STATE"
);
}
break
;
case
INPUT_CONTROL_SET_RATE
:
...
...
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