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
5a8defdc
Commit
5a8defdc
authored
May 23, 2015
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
input: fetch play-and-pause only once
The value never changes anyway. This fixes non-interactive inputs.
parent
7e68d2bf
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
src/input/input.c
src/input/input.c
+1
-2
No files found.
src/input/input.c
View file @
5a8defdc
...
@@ -684,7 +684,7 @@ static void MainLoop( input_thread_t *p_input, bool b_interactive )
...
@@ -684,7 +684,7 @@ static void MainLoop( input_thread_t *p_input, bool b_interactive )
ControlPause
(
p_input
,
i_start_mdate
);
ControlPause
(
p_input
,
i_start_mdate
);
bool
b_pause_after_eof
=
b_interactive
&&
bool
b_pause_after_eof
=
b_interactive
&&
var_
CreateGe
tBool
(
p_input
,
"play-and-pause"
);
var_
Inheri
tBool
(
p_input
,
"play-and-pause"
);
while
(
vlc_object_alive
(
p_input
)
&&
!
p_input
->
b_error
)
while
(
vlc_object_alive
(
p_input
)
&&
!
p_input
->
b_error
)
{
{
...
@@ -728,7 +728,6 @@ static void MainLoop( input_thread_t *p_input, bool b_interactive )
...
@@ -728,7 +728,6 @@ static void MainLoop( input_thread_t *p_input, bool b_interactive )
{
{
if
(
MainLoopTryRepeat
(
p_input
,
&
i_start_mdate
)
)
if
(
MainLoopTryRepeat
(
p_input
,
&
i_start_mdate
)
)
break
;
break
;
b_pause_after_eof
=
var_GetBool
(
p_input
,
"play-and-pause"
);
}
}
/* Update interface and statistics */
/* Update interface and statistics */
...
...
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