Use CUDA acceleration if other hwaccels are unavailable

This commit is contained in:
Cameron Gutman committed 2019-06-26 21:54:29 -07:00
1 parent 612b738968
commit 1c225ed04d
2 files changed
+50 -15

No files matched your search

+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();