diff --git a/codec.c b/codec.c index db9a805..baaead1 100644 --- a/codec.c +++ b/codec.c @@ -298,7 +298,9 @@ void CodecVideoOpen(VideoDecoder *decoder, int codec_id) { } // if (av_opt_set_int(decoder->VideoCtx, "refcounted_frames", 1, 0) < 0) // Fatal(_("VAAPI Refcounts invalid\n")); +#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(59,8,100) decoder->VideoCtx->thread_safe_callbacks = 0; +#endif #endif diff --git a/softhdcuvid.cpp b/softhdcuvid.cpp index 8af3737..5b98f7f 100644 --- a/softhdcuvid.cpp +++ b/softhdcuvid.cpp @@ -61,7 +61,7 @@ extern void ToggleLUT(); /// vdr-plugin version number. /// Makefile extracts the version number for generating the file name /// for the distribution archive. -static const char *const VERSION = "3.7.5" +static const char *const VERSION = "3.7.6" #ifdef GIT_REV "-GIT" GIT_REV #endif