Use CUDA acceleration if other hwaccels are unavailable

This commit is contained in:
Cameron Gutman
2019-06-26 21:54:29 -07:00
parent 612b738968
commit 1c225ed04d
2 changed files with 50 additions and 15 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ private:
const AVCodecHWConfig* hwConfig,
std::function<IFFmpegRenderer*()> createRendererFunc);
static IFFmpegRenderer* createHwAccelRenderer(const AVCodecHWConfig* hwDecodeCfg);
static IFFmpegRenderer* createHwAccelRenderer(const AVCodecHWConfig* hwDecodeCfg, int pass);
void reset();