Add decoder options dictionary to prepareDecoderContext()

This commit is contained in:
Cameron Gutman
2020-02-08 17:47:26 -08:00
parent fa74700ad9
commit 529fdf0341
17 changed files with 21 additions and 18 deletions
@@ -80,7 +80,7 @@ AVBufferRef* DXVA2Renderer::ffPoolAlloc(void* opaque, int)
return NULL;
}
bool DXVA2Renderer::prepareDecoderContext(AVCodecContext* context)
bool DXVA2Renderer::prepareDecoderContext(AVCodecContext* context, AVDictionary**)
{
// m_DXVAContext.workaround and report_id already initialized elsewhere
m_DXVAContext.decoder = m_Decoder;