No deinterlacing for HVEC

This commit is contained in:
jojo61 2024-09-26 16:27:17 +02:00
parent 46df18afe0
commit 68fc7e4511
2 changed files with 5 additions and 2 deletions

View File

@ -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.24"
static const char *const VERSION = "3.25"
#ifdef GIT_REV
"-GIT" GIT_REV
#endif

View File

@ -3004,7 +3004,10 @@ static enum AVPixelFormat Cuvid_get_format(CuvidDecoder *decoder, AVCodecContext
#ifdef CUVID
ist->active_hwaccel_id = HWACCEL_CUVID;
#else
if (VideoDeinterlace[decoder->Resolution]) {// need deinterlace
if (video_ctx->codec_id == AV_CODEC_ID_HEVC) {
ist->filter = 0;
}
else if (VideoDeinterlace[decoder->Resolution]) {// need deinterlace
ist->filter = 1; // init deint vaapi
}
else {