Add decoder options dictionary to prepareDecoderContext()

This commit is contained in:
Cameron Gutman 2020-02-08 17:47:26 -08:00
commit 529fdf0341
17 changed files with 21 additions and 18 deletions

View file

@ -18,7 +18,7 @@ public:
};
virtual bool initialize(PDECODER_PARAMETERS params) = 0;
virtual bool prepareDecoderContext(AVCodecContext* context) = 0;
virtual bool prepareDecoderContext(AVCodecContext* context, AVDictionary** options) = 0;
virtual void renderFrame(AVFrame* frame) = 0;
virtual bool needsTestFrame() {