mirror of
https://github.com/mpv-player/mpv
synced 2025-02-12 18:07:12 +00:00
command: remove ifdefs for deint filters
Doesn't have much of a purpose.
This commit is contained in:
parent
4331617bce
commit
73c7938d74
@ -1551,7 +1551,6 @@ static bool check_output_format(struct MPContext *mpctx, int imgfmt)
|
|||||||
|
|
||||||
static int probe_deint_filters(struct MPContext *mpctx)
|
static int probe_deint_filters(struct MPContext *mpctx)
|
||||||
{
|
{
|
||||||
#if HAVE_VDPAU
|
|
||||||
if (check_output_format(mpctx, IMGFMT_VDPAU)) {
|
if (check_output_format(mpctx, IMGFMT_VDPAU)) {
|
||||||
char filter[80] = "vdpaupp:deint=yes";
|
char filter[80] = "vdpaupp:deint=yes";
|
||||||
int pref = 0;
|
int pref = 0;
|
||||||
@ -1568,12 +1567,9 @@ static int probe_deint_filters(struct MPContext *mpctx)
|
|||||||
probe_deint_filter(mpctx, filter);
|
probe_deint_filter(mpctx, filter);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
#if HAVE_VAAPI_VPP
|
|
||||||
if (check_output_format(mpctx, IMGFMT_VAAPI) &&
|
if (check_output_format(mpctx, IMGFMT_VAAPI) &&
|
||||||
probe_deint_filter(mpctx, "vavpp"))
|
probe_deint_filter(mpctx, "vavpp"))
|
||||||
return 0;
|
return 0;
|
||||||
#endif
|
|
||||||
if (probe_deint_filter(mpctx, "yadif"))
|
if (probe_deint_filter(mpctx, "yadif"))
|
||||||
return 0;
|
return 0;
|
||||||
return -1;
|
return -1;
|
||||||
|
Loading…
Reference in New Issue
Block a user