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

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