]> git.sesse.net Git - vlc/commitdiff
Qt: do not pause playback when resuming
authorJean-Baptiste Kempf <jb@videolan.org>
Wed, 13 Aug 2014 05:02:57 +0000 (07:02 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Wed, 13 Aug 2014 05:03:27 +0000 (07:03 +0200)
It just shows a dialog, but does not block the playback.

Close #11708 #11705

modules/gui/qt4/input_manager.cpp

index fa23936110d5951a217174bb645b09228a940e8c..f0e526bbb2204775fdc6f62fae51f0fcc28b5e5c 100644 (file)
@@ -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 );
             }
         }
     }