summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-05-06 00:47:28 +0200
committerwm4 <wm4@nowhere>2014-05-06 00:47:28 +0200
commit73c7938d743a3d42ba92874ef5c71198f441b988 (patch)
treef7e50c4567be74aaed79ef3b1235bbe2d87ee52c
parent4331617bcea8539c8246f6d92066e3bd4fd5a4da (diff)
downloadmpv-73c7938d743a3d42ba92874ef5c71198f441b988.tar.bz2
mpv-73c7938d743a3d42ba92874ef5c71198f441b988.tar.xz
command: remove ifdefs for deint filters
Doesn't have much of a purpose.
-rw-r--r--player/command.c4
1 files changed, 0 insertions, 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;