mirror of https://github.com/mpv-player/mpv
hwdec_vulkan: use bwdif_vulkan as deinterlacing auto filter
This is currently the only vulkan deinterlacing filter in ffmpeg and it's a very high quality algorithm.
This commit is contained in:
parent
45a2d8c670
commit
642dae1a6e
|
@ -82,6 +82,12 @@ static void deint_process(struct mp_filter *f)
|
|||
char *args[] = {"mode", "send_field", NULL};
|
||||
p->sub.filter =
|
||||
mp_create_user_filter(f, MP_OUTPUT_CHAIN_VIDEO, "yadif_cuda", args);
|
||||
#if HAVE_VULKAN_INTEROP
|
||||
} else if (img->imgfmt == IMGFMT_VULKAN) {
|
||||
char *args[] = {"mode", "send_field", NULL};
|
||||
p->sub.filter =
|
||||
mp_create_user_filter(f, MP_OUTPUT_CHAIN_VIDEO, "bwdif_vulkan", args);
|
||||
#endif
|
||||
} else if (img->imgfmt == IMGFMT_VAAPI) {
|
||||
char *args[] = {"deint", "motion-adaptive",
|
||||
"interlaced-only", "yes", NULL};
|
||||
|
|
Loading…
Reference in New Issue