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 fa23936..f0e526b 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 );
             }
         }
     }