diff --git a/codec.c b/codec.c index 6ab2734..74e0298 100644 --- a/codec.c +++ b/codec.c @@ -318,7 +318,7 @@ void CodecVideoOpen(VideoDecoder * decoder, int codec_id) pthread_mutex_unlock(&CodecLockMutex); Fatal(_("codec: can't set option deint to video codec!\n")); } - if (av_opt_set_int(decoder->VideoCtx->priv_data, "surfaces", 15 ,0) < 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")); }