mirror of
https://projects.vdr-developer.org/git/vdr-plugin-softhddevice.git
synced 2023-10-10 17:16:51 +00:00
Need get_format for software decoder.
This commit is contained in:
1
codec.c
1
codec.c
@@ -431,6 +431,7 @@ void CodecVideoOpen(VideoDecoder * decoder, const char *name, int codec_id)
|
|||||||
decoder->VideoCtx->thread_count = 1;
|
decoder->VideoCtx->thread_count = 1;
|
||||||
decoder->VideoCtx->active_thread_type = 0;
|
decoder->VideoCtx->active_thread_type = 0;
|
||||||
} else {
|
} else {
|
||||||
|
decoder->VideoCtx->get_format = Codec_get_format;
|
||||||
decoder->VideoCtx->hwaccel_context =
|
decoder->VideoCtx->hwaccel_context =
|
||||||
VideoGetVaapiContext(decoder->HwDecoder);
|
VideoGetVaapiContext(decoder->HwDecoder);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user