Shortcut decoder initialization when only using it for capability testing

This commit is contained in:
Cameron Gutman committed 2019-02-12 18:42:53 -08:00
1 parent df567b405a
commit 947970e07b
6 files changed
+45 -20

No files matched your search

+1
View File
@@ -83,6 +83,7 @@ private:
bool chooseDecoder(StreamingPreferences::VideoDecoderSelection vds,
SDL_Window* window, int videoFormat, int width, int height,
int frameRate, bool enableVsync, bool enableFramePacing,
bool testOnly,
IVideoDecoder*& chosenDecoder);
static