From 15c04b883749a1a90efcb7610a110a44ef20abf5 Mon Sep 17 00:00:00 2001 From: jojo61 Date: Sun, 21 Oct 2018 17:24:12 +0200 Subject: [PATCH] fix SD with official FFMPEG patch --- codec.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/codec.c b/codec.c index 38fdb01..f8f5fc7 100644 --- a/codec.c +++ b/codec.c @@ -326,10 +326,12 @@ void CodecVideoOpen(VideoDecoder * decoder, int codec_id) pthread_mutex_unlock(&CodecLockMutex); Fatal(_("codec: can't set option deint to video codec!\n")); } +#if 0 if (av_opt_set_int(decoder->VideoCtx->priv_data, "surfaces", 7 ,0) < 0) { pthread_mutex_unlock(&CodecLockMutex); Fatal(_("codec: can't set option surfces to video codec!\n")); } +#endif if (av_opt_set(decoder->VideoCtx->priv_data, "drop_second_field", "false" ,0) < 0) { pthread_mutex_unlock(&CodecLockMutex); Fatal(_("codec: can't set option drop 2.field to video codec!\n"));