Add decoder options dictionary to prepareDecoderContext()

This commit is contained in:
Cameron Gutman committed 2020-02-08 17:47:26 -08:00
1 parent fa74700ad9
commit 529fdf0341
17 files changed
+21 -18

No files matched your search

@@ -225,7 +225,7 @@ bool VDPAURenderer::initialize(PDECODER_PARAMETERS params)
return true;
}
bool VDPAURenderer::prepareDecoderContext(AVCodecContext* context)
bool VDPAURenderer::prepareDecoderContext(AVCodecContext* context, AVDictionary**)
{
context->hw_device_ctx = av_buffer_ref(m_HwContext);