Don't draw with test-only renderers

This commit is contained in:
Cameron Gutman
2022-08-21 18:38:09 -05:00
parent bf4332b9e7
commit d39a29759c
6 changed files with 45 additions and 35 deletions

View File

@@ -211,6 +211,7 @@ bool Session::chooseDecoder(StreamingPreferences::VideoDecoderSelection vds,
params.window = window;
params.enableVsync = enableVsync;
params.enableFramePacing = enableFramePacing;
params.testOnly = testOnly;
params.vds = vds;
memset(&params.hdrMetadata, 0, sizeof(params.hdrMetadata));