mirror of
https://github.com/jojo61/vdr-plugin-softhdcuvid.git
synced 2025-03-01 10:39:28 +00:00
No deinterlacing for HVEC
This commit is contained in:
parent
46df18afe0
commit
68fc7e4511
@ -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
|
||||
|
5
video.c
5
video.c
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user