summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-04-19 16:35:09 +0200
committerwm4 <wm4@nowhere>2014-04-19 17:10:20 +0200
commitc56b1f2d906042d9dd77798e25b592083454f047 (patch)
tree662e36c2799ccc12a55eea4127bb7e8f2cde8067 /video
parent60fbce16bb28e4298716c8ab3c6c38fc7e9ebfae (diff)
downloadmpv-c56b1f2d906042d9dd77798e25b592083454f047.tar.bz2
mpv-c56b1f2d906042d9dd77798e25b592083454f047.tar.xz
vf_pp: use native libpostproc CPU detection
Diffstat (limited to 'video')
-rw-r--r--video/filter/vf_pp.c6
1 files changed, 1 insertions, 5 deletions
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;