Use the decoder's supported pix_fmts to select a suitable renderer
This commit is contained in:
parent
c3cea0238e
commit
88391b0274
2 changed files with 82 additions and 75 deletions
|
|
@ -36,6 +36,9 @@ private:
|
|||
|
||||
bool createFrontendRenderer(PDECODER_PARAMETERS params);
|
||||
|
||||
bool tryInitializeRendererForDecoderByName(const char* decoderName,
|
||||
PDECODER_PARAMETERS params);
|
||||
|
||||
bool tryInitializeRenderer(AVCodec* decoder,
|
||||
PDECODER_PARAMETERS params,
|
||||
const AVCodecHWConfig* hwConfig,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue