aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/QuickMedia.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/QuickMedia.cpp b/src/QuickMedia.cpp
index a57c522..ba9abf7 100644
--- a/src/QuickMedia.cpp
+++ b/src/QuickMedia.cpp
@@ -388,6 +388,7 @@ namespace QuickMedia {
XFlush(disp);
video_player_ui_window = std::make_unique<sf::RenderWindow>(ui_window);
+ video_player_ui_window->setVerticalSyncEnabled(true);
};
// This variable is needed because calling play_video is not possible in onPlaybackEndedCallback