diff options
-rw-r--r-- | codec.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -431,6 +431,7 @@ void CodecVideoOpen(VideoDecoder * decoder, const char *name, int codec_id) decoder->VideoCtx->thread_count = 1; decoder->VideoCtx->active_thread_type = 0; } else { + decoder->VideoCtx->get_format = Codec_get_format; decoder->VideoCtx->hwaccel_context = VideoGetVaapiContext(decoder->HwDecoder); } |