summaryrefslogtreecommitdiffstats
path: root/player
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-04-19 17:09:24 +0200
committerwm4 <wm4@nowhere>2014-04-19 17:10:56 +0200
commit0cff5836c3f410136e3fdb3e2f9e24bb81dd9a87 (patch)
tree04d756999fb23a8fc83b161c950facce1fc30f8d /player
parent061c7eba9770ca5f29dd3c0e5b64a276feca30cc (diff)
downloadmpv-0cff5836c3f410136e3fdb3e2f9e24bb81dd9a87.tar.bz2
mpv-0cff5836c3f410136e3fdb3e2f9e24bb81dd9a87.tar.xz
Remove CPU detection and inline asm handling
Not needed anymore. I'm not opposed to having asm, but inline asm is too much of a pain, and it was planned long ago to eventually get rid fo all inline asm uses. For the note, the inline asm use that was removed with the previous commits was almost worthless. It was confined to video filters, and most video filtering is now done with libavfilter. Some mpv filters (like vf_pullup) actually redirect to libavfilter if possible. If asm is added in the future, it should happen in the form of external files.
Diffstat (limited to 'player')
-rw-r--r--player/main.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/player/main.c b/player/main.c
index baf12c7f3a..506f6fccd9 100644
--- a/player/main.c
+++ b/player/main.c
@@ -35,7 +35,6 @@
#include "common/av_log.h"
#include "common/codecs.h"
-#include "common/cpudetect.h"
#include "common/encode.h"
#include "options/m_config.h"
#include "options/m_option.h"
@@ -307,7 +306,6 @@ static int cfg_include(void *ctx, char *filename, int flags)
struct MPContext *mp_create(void)
{
mp_time_init();
- GetCpuCaps(&gCpuCaps);
struct MPContext *mpctx = talloc(NULL, MPContext);
*mpctx = (struct MPContext){