Shortcut decoder initialization when only using it for capability testing

This commit is contained in:
Cameron Gutman 2019-02-12 18:42:53 -08:00
commit 947970e07b
6 changed files with 45 additions and 20 deletions

View file

@ -7,7 +7,7 @@
class SLVideoDecoder : public IVideoDecoder
{
public:
SLVideoDecoder();
SLVideoDecoder(bool testOnly);
virtual ~SLVideoDecoder();
virtual bool initialize(StreamingPreferences::VideoDecoderSelection vds,
SDL_Window* window,