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
902b733b
Commit
902b733b
authored
Apr 16, 2013
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
input: use STREAM_SET_PAUSE_STATE (refs #8414)
parent
e3ff3215
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
src/input/input.c
src/input/input.c
+8
-8
No files found.
src/input/input.c
View file @
902b733b
...
...
@@ -1593,9 +1593,9 @@ static void ControlPause( input_thread_t *p_input, mtime_t i_control_date )
if
(
p_input
->
p
->
b_can_pause
)
{
if
(
p_input
->
p
->
input
.
p_
access
)
i_ret
=
access_Control
(
p_input
->
p
->
input
.
p_access
,
ACCESS
_SET_PAUSE_STATE
,
true
);
if
(
p_input
->
p
->
input
.
p_
stream
!=
NULL
)
i_ret
=
stream_Control
(
p_input
->
p
->
input
.
p_stream
,
STREAM
_SET_PAUSE_STATE
,
true
);
else
i_ret
=
demux_Control
(
p_input
->
p
->
input
.
p_demux
,
DEMUX_SET_PAUSE_STATE
,
true
);
...
...
@@ -1627,9 +1627,9 @@ static void ControlUnpause( input_thread_t *p_input, mtime_t i_control_date )
if
(
p_input
->
p
->
b_can_pause
)
{
if
(
p_input
->
p
->
input
.
p_
access
)
i_ret
=
access_Control
(
p_input
->
p
->
input
.
p_access
,
ACCESS
_SET_PAUSE_STATE
,
false
);
if
(
p_input
->
p
->
input
.
p_
stream
)
i_ret
=
stream_Control
(
p_input
->
p
->
input
.
p_stream
,
STREAM
_SET_PAUSE_STATE
,
false
);
else
i_ret
=
demux_Control
(
p_input
->
p
->
input
.
p_demux
,
DEMUX_SET_PAUSE_STATE
,
false
);
...
...
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