1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-08 07:57:19 +00:00

command: remove ifdefs for deint filters

Doesn't have much of a purpose.
This commit is contained in:
wm4 2014-05-06 00:47:28 +02:00
parent 4331617bce
commit 73c7938d74

View File

@ -1551,7 +1551,6 @@ static bool check_output_format(struct MPContext *mpctx, int imgfmt)
static int probe_deint_filters(struct MPContext *mpctx)
{
#if HAVE_VDPAU
if (check_output_format(mpctx, IMGFMT_VDPAU)) {
char filter[80] = "vdpaupp:deint=yes";
int pref = 0;
@ -1568,12 +1567,9 @@ static int probe_deint_filters(struct MPContext *mpctx)
probe_deint_filter(mpctx, filter);
return 0;
}
#endif
#if HAVE_VAAPI_VPP
if (check_output_format(mpctx, IMGFMT_VAAPI) &&
probe_deint_filter(mpctx, "vavpp"))
return 0;
#endif
if (probe_deint_filter(mpctx, "yadif"))
return 0;
return -1;