mirror of
https://github.com/mpv-player/mpv
synced 2024-12-27 01:22:30 +00:00
f_auto_filters: use bwdif_cuda for deinterlacing with cuda hwdec
Followup to 45f822593f
. vulkan hwdec uses
bwdif_vulkan so no reason to not make cuda also match.
This commit is contained in:
parent
52cabca4e5
commit
0008858408
@ -81,7 +81,7 @@ static void deint_process(struct mp_filter *f)
|
|||||||
} else if (img->imgfmt == IMGFMT_CUDA) {
|
} else if (img->imgfmt == IMGFMT_CUDA) {
|
||||||
char *args[] = {"mode", "send_field", NULL};
|
char *args[] = {"mode", "send_field", NULL};
|
||||||
p->sub.filter =
|
p->sub.filter =
|
||||||
mp_create_user_filter(f, MP_OUTPUT_CHAIN_VIDEO, "yadif_cuda", args);
|
mp_create_user_filter(f, MP_OUTPUT_CHAIN_VIDEO, "bwdif_cuda", args);
|
||||||
#if HAVE_VULKAN_INTEROP
|
#if HAVE_VULKAN_INTEROP
|
||||||
} else if (img->imgfmt == IMGFMT_VULKAN) {
|
} else if (img->imgfmt == IMGFMT_VULKAN) {
|
||||||
char *args[] = {"mode", "send_field", NULL};
|
char *args[] = {"mode", "send_field", NULL};
|
||||||
|
Loading…
Reference in New Issue
Block a user