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
528a16ff
Commit
528a16ff
authored
Aug 13, 2014
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: resume only for files
Close #11721 #11761
parent
334c42b9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
13 deletions
+16
-13
modules/gui/qt4/input_manager.cpp
modules/gui/qt4/input_manager.cpp
+16
-13
No files found.
modules/gui/qt4/input_manager.cpp
View file @
528a16ff
...
@@ -128,6 +128,8 @@ void InputManager::setInput( input_thread_t *_p_input )
...
@@ -128,6 +128,8 @@ void InputManager::setInput( input_thread_t *_p_input )
emit
rateChanged
(
var_GetFloat
(
p_input
,
"rate"
)
);
emit
rateChanged
(
var_GetFloat
(
p_input
,
"rate"
)
);
/* Get Saved Time */
/* Get Saved Time */
if
(
p_item
->
i_type
==
ITEM_TYPE_FILE
)
{
int
i_time
=
RecentsMRL
::
getInstance
(
p_intf
)
->
time
(
p_item
->
psz_uri
);
int
i_time
=
RecentsMRL
::
getInstance
(
p_intf
)
->
time
(
p_item
->
psz_uri
);
if
(
i_time
>
0
&&
if
(
i_time
>
0
&&
!
var_GetFloat
(
p_input
,
"run-time"
)
&&
!
var_GetFloat
(
p_input
,
"run-time"
)
&&
...
@@ -146,6 +148,7 @@ void InputManager::setInput( input_thread_t *_p_input )
...
@@ -146,6 +148,7 @@ void InputManager::setInput( input_thread_t *_p_input )
playlist_Play
(
THEPL
);
playlist_Play
(
THEPL
);
}
}
}
}
}
else
else
{
{
p_item
=
NULL
;
p_item
=
NULL
;
...
...
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