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
7e68d2bf
Commit
7e68d2bf
authored
May 23, 2015
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
input: ignore start-paused in non-interactive inputs
parent
9f85beee
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
src/input/input.c
src/input/input.c
+4
-6
No files found.
src/input/input.c
View file @
7e68d2bf
...
...
@@ -524,12 +524,6 @@ static void *Run( void *obj )
if
(
!
Init
(
p_input
)
)
{
if
(
var_InheritBool
(
p_input
,
"start-paused"
)
)
{
const
mtime_t
i_control_date
=
mdate
();
ControlPause
(
p_input
,
i_control_date
);
}
MainLoop
(
p_input
,
true
);
/* FIXME it can be wrong (like with VLM) */
/* Clean up */
...
...
@@ -685,6 +679,10 @@ static void MainLoop( input_thread_t *p_input, bool b_interactive )
mtime_t
i_start_mdate
=
mdate
();
mtime_t
i_intf_update
=
0
;
mtime_t
i_last_seek_mdate
=
0
;
if
(
b_interactive
&&
var_InheritBool
(
p_input
,
"start-paused"
)
)
ControlPause
(
p_input
,
i_start_mdate
);
bool
b_pause_after_eof
=
b_interactive
&&
var_CreateGetBool
(
p_input
,
"play-and-pause"
);
...
...
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