[vlc-commits] qt4: input_manager: Always reset lastURI when stopping
Hugo Beauzée-Luyssen
git at videolan.org
Thu Feb 18 18:15:08 CET 2016
vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Thu Feb 18 18:12:43 2016 +0100| [285a3efcbb4f64ea4d9812d1f94605cef7c65083] | committer: Hugo Beauzée-Luyssen
qt4: input_manager: Always reset lastURI when stopping
This allow the resume where you left off feature to kick in when
starting the playback again, but not when cycling through a playlist
refs #11704
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=285a3efcbb4f64ea4d9812d1f94605cef7c65083
---
modules/gui/qt4/input_manager.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/gui/qt4/input_manager.cpp b/modules/gui/qt4/input_manager.cpp
index 5bbbcd3..b16bb2b 100644
--- a/modules/gui/qt4/input_manager.cpp
+++ b/modules/gui/qt4/input_manager.cpp
@@ -143,6 +143,7 @@ void InputManager::setInput( input_thread_t *_p_input )
else
{
p_item = NULL;
+ lastURI.clear();
assert( !p_input_vbi );
emit rateChanged( var_InheritFloat( p_intf, "rate" ) );
}
@@ -1075,7 +1076,6 @@ void MainInputManager::probeCurrentInput()
void MainInputManager::stop()
{
playlist_Stop( THEPL );
- getIM()->lastURI.clear();
}
void MainInputManager::next()
More information about the vlc-commits
mailing list