From c56b1f2d906042d9dd77798e25b592083454f047 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 19 Apr 2014 16:35:09 +0200 Subject: vf_pp: use native libpostproc CPU detection --- video/filter/vf_pp.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'video') diff --git a/video/filter/vf_pp.c b/video/filter/vf_pp.c index 6a347bb9d9..1d9abd8ce2 100644 --- a/video/filter/vf_pp.c +++ b/video/filter/vf_pp.c @@ -25,7 +25,6 @@ #include "config.h" #include "common/msg.h" -#include "common/cpudetect.h" #include "options/m_option.h" #include "video/img_format.h" @@ -45,10 +44,7 @@ struct vf_priv_s { static int config(struct vf_instance *vf, int width, int height, int d_width, int d_height, unsigned int voflags, unsigned int outfmt){ - int flags= - (gCpuCaps.hasMMX ? PP_CPU_CAPS_MMX : 0) - | (gCpuCaps.hasMMX2 ? PP_CPU_CAPS_MMX2 : 0); - + int flags= PP_CPU_CAPS_AUTO; switch(outfmt){ case IMGFMT_444P: flags|= PP_FORMAT_444; break; case IMGFMT_422P: flags|= PP_FORMAT_422; break; -- cgit v1.2.3