From dcfd3d3e48e506b7e2a73176bf8de3073f7a2972 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Tue, 25 Dec 2018 22:19:23 -0800 Subject: [PATCH] Add a debug print for V-sync --- app/streaming/session.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/streaming/session.cpp b/app/streaming/session.cpp index 97f48a33..1d8a4f91 100644 --- a/app/streaming/session.cpp +++ b/app/streaming/session.cpp @@ -105,6 +105,10 @@ bool Session::chooseDecoder(StreamingPreferences::VideoDecoderSelection vds, SDL_Window* window, int videoFormat, int width, int height, int frameRate, bool enableVsync, bool enableFramePacing, IVideoDecoder*& chosenDecoder) { + SDL_LogInfo(SDL_LOG_CATEGORY_APPLICATION, + "V-sync %s", + enableVsync ? "enabled" : "disabled"); + #ifdef HAVE_SLVIDEO chosenDecoder = new SLVideoDecoder(); if (CALL_INITIALIZE(chosenDecoder)) {