Avoid D3D9 fallback on lack of codec support unless a D3D11 FL11.0 GPU wasn't found
We'd rather not waste time (and risk crashes) loading the D3D9 driver if the GPU doesn't have the physical decoding hardware at all.
This commit is contained in:
parent
cefa567f95
commit
f2535f1e6e
5 changed files with 116 additions and 8 deletions
|
|
@ -55,6 +55,7 @@ private:
|
|||
enum AVPixelFormat requiredFormat,
|
||||
PDECODER_PARAMETERS params,
|
||||
const AVCodecHWConfig* hwConfig,
|
||||
IFFmpegRenderer::InitFailureReason* failureReason,
|
||||
std::function<IFFmpegRenderer*()> createRendererFunc);
|
||||
|
||||
static IFFmpegRenderer* createHwAccelRenderer(const AVCodecHWConfig* hwDecodeCfg, int pass);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue