aboutsummaryrefslogtreecommitdiff
path: root/src/QuickMedia.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/QuickMedia.cpp')
-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