summaryrefslogtreecommitdiffstats
path: root/libvo/vo_dxr3.c
diff options
context:
space:
mode:
authormswitch <mswitch@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-03-23 16:36:42 +0000
committermswitch <mswitch@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-03-23 16:36:42 +0000
commit1dccf216e69ccb3cb8a43198908f65f6698c280d (patch)
tree04cb36cf86f2531bb7cc8234fa12cf782d2c043c /libvo/vo_dxr3.c
parenta254cc288e8828f114ae3399911b8fd403cff4c7 (diff)
downloadmpv-1dccf216e69ccb3cb8a43198908f65f6698c280d.tar.bz2
mpv-1dccf216e69ccb3cb8a43198908f65f6698c280d.tar.xz
Disable prebuffering on athlons (3DNowEx) as the ones running at 266MHz
bus speed has troubles with it... git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5276 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_dxr3.c')
-rw-r--r--libvo/vo_dxr3.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libvo/vo_dxr3.c b/libvo/vo_dxr3.c
index 29cd591bad..cd1c68a531 100644
--- a/libvo/vo_dxr3.c
+++ b/libvo/vo_dxr3.c
@@ -78,6 +78,7 @@
#include "aspect.h"
#include "../postproc/rgb2rgb.h"
#include "../postproc/swscale.h"
+#include "../cpudetect.h"
/*#ifndef USE_LIBAVCODEC*/
# define USE_LIBFAME
@@ -518,7 +519,7 @@ static uint32_t preinit(const char *arg)
int fdflags = O_WRONLY;
/* Open the control interface */
- if (arg && !strcmp("noprebuf", arg)) {
+ if ((arg && !strcmp("noprebuf", arg)) || gCpuCaps.has3DNowExt) {
printf("VO: [dxr3] Disabling prebuffering.\n");
noprebuf = 1;
fdflags |= O_NONBLOCK;