Use CUDA acceleration if other hwaccels are unavailable
This commit is contained in:
parent
612b738968
commit
1c225ed04d
2 changed files with 50 additions and 15 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue