[vlc-commits] demux: mp4: don't prompt to restart if user specifies range (fix #11556)
Francois Cartegnie
git at videolan.org
Tue Jun 3 13:13:58 CEST 2014
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue Jun 3 13:10:47 2014 +0200| [923292af1ca026dae34c292fa5857b4111120823] | committer: Francois Cartegnie
demux: mp4: don't prompt to restart if user specifies range (fix #11556)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=923292af1ca026dae34c292fa5857b4111120823
---
modules/gui/qt4/input_manager.cpp | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/modules/gui/qt4/input_manager.cpp b/modules/gui/qt4/input_manager.cpp
index c07f712..6b78438 100644
--- a/modules/gui/qt4/input_manager.cpp
+++ b/modules/gui/qt4/input_manager.cpp
@@ -124,7 +124,10 @@ void InputManager::setInput( input_thread_t *_p_input )
/* Get Saved Time */
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, "start-time" ) &&
+ !var_GetFloat( p_input, "stop-time" ) )
{
THEMIM->togglePlayPause();
More information about the vlc-commits
mailing list