Consolidate decoder checks to reduce code duplication
This commit is contained in:
parent
952ebcd0d2
commit
52583f5c71
2 changed files with 27 additions and 47 deletions
|
|
@ -46,7 +46,7 @@ private:
|
|||
bool createFrontendRenderer(PDECODER_PARAMETERS params, bool useAlternateFrontend);
|
||||
|
||||
static
|
||||
bool isDecoderIgnored(const AVCodec* decoder);
|
||||
bool isDecoderMatchForParams(const AVCodec *decoder, PDECODER_PARAMETERS params);
|
||||
|
||||
static
|
||||
bool isZeroCopyFormat(AVPixelFormat format);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue