[vlc-commits] Qt: do not pause playback when resuming
Jean-Baptiste Kempf
git at videolan.org
Wed Aug 13 21:40:01 CEST 2014
vlc/vlc-2.2 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Aug 13 07:02:57 2014 +0200| [201180f0ecdc3318d664bfea44ddd4c8ec18bfa8] | committer: Jean-Baptiste Kempf
Qt: do not pause playback when resuming
It just shows a dialog, but does not block the playback.
Close #11708 #11705
(cherry picked from commit 23f717bcfdbe72866424b48136134c505b901219)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=201180f0ecdc3318d664bfea44ddd4c8ec18bfa8
---
modules/gui/qt4/input_manager.cpp | 4 ----
1 file changed, 4 deletions(-)
diff --git a/modules/gui/qt4/input_manager.cpp b/modules/gui/qt4/input_manager.cpp
index fa23936..f0e526b 100644
--- a/modules/gui/qt4/input_manager.cpp
+++ b/modules/gui/qt4/input_manager.cpp
@@ -136,16 +136,12 @@ void InputManager::setInput( input_thread_t *_p_input )
!var_GetFloat( p_input, "start-time" ) &&
!var_GetFloat( p_input, "stop-time" ) )
{
- playlist_Pause( THEPL );
-
if( QMessageBox::question( NULL,
_("Continue playback?"),
_("Do you want to restart the playback where left off?"),
QMessageBox::Yes | QMessageBox::No, QMessageBox::Yes )
== QMessageBox::Yes )
var_SetTime( p_input, "time", (int64_t)i_time * 1000 );
-
- playlist_Play( THEPL );
}
}
}
More information about the vlc-commits
mailing list