diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/QuickMedia.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/QuickMedia.cpp b/src/QuickMedia.cpp index 95a0a63..f5aaea5 100644 --- a/src/QuickMedia.cpp +++ b/src/QuickMedia.cpp @@ -1583,10 +1583,11 @@ namespace QuickMedia { } else if(update_err == VideoPlayer::Error::EXITED && video_player->exit_status == 0) { fprintf(stderr, "mpv exited with status 0, the user most likely closed mpv with 'q'\n"); current_page = previous_page; + break; } else if(update_err != VideoPlayer::Error::OK) { show_notification("Video player", "The video player failed to play the video", Urgency::CRITICAL); current_page = previous_page; - return; + break; } // TODO: Show loading video animation. load_video needs to be made asynchronous first |