From 73c7938d743a3d42ba92874ef5c71198f441b988 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 6 May 2014 00:47:28 +0200 Subject: command: remove ifdefs for deint filters Doesn't have much of a purpose. --- player/command.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/player/command.c b/player/command.c index 8077e0369f..868291c043 100644 --- a/player/command.c +++ b/player/command.c @@ -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; -- cgit v1.2.3