Add a debug print for V-sync
This commit is contained in:
parent
cb1e2ac32e
commit
dcfd3d3e48
1 changed files with 4 additions and 0 deletions
|
|
@ -105,6 +105,10 @@ bool Session::chooseDecoder(StreamingPreferences::VideoDecoderSelection vds,
|
||||||
SDL_Window* window, int videoFormat, int width, int height,
|
SDL_Window* window, int videoFormat, int width, int height,
|
||||||
int frameRate, bool enableVsync, bool enableFramePacing, IVideoDecoder*& chosenDecoder)
|
int frameRate, bool enableVsync, bool enableFramePacing, IVideoDecoder*& chosenDecoder)
|
||||||
{
|
{
|
||||||
|
SDL_LogInfo(SDL_LOG_CATEGORY_APPLICATION,
|
||||||
|
"V-sync %s",
|
||||||
|
enableVsync ? "enabled" : "disabled");
|
||||||
|
|
||||||
#ifdef HAVE_SLVIDEO
|
#ifdef HAVE_SLVIDEO
|
||||||
chosenDecoder = new SLVideoDecoder();
|
chosenDecoder = new SLVideoDecoder();
|
||||||
if (CALL_INITIALIZE(chosenDecoder)) {
|
if (CALL_INITIALIZE(chosenDecoder)) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue