[vlc-commits] Qt: do not pause playback when resuming

Jean-Baptiste Kempf git at videolan.org
Wed Aug 13 07:03:44 CEST 2014


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Aug 13 07:02:57 2014 +0200| [23f717bcfdbe72866424b48136134c505b901219] | 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

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=23f717bcfdbe72866424b48136134c505b901219
---

 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