Use the decoder's supported pix_fmts to select a suitable renderer

This commit is contained in:
Cameron Gutman committed 2021-02-02 19:05:27 -06:00
1 parent c3cea0238e
commit 88391b0274
2 files changed
+82 -75

No files matched your search

+3
View File
@@ -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,