Mercurial > mplayer.hg
changeset 5275:38f45e170f3b
Disable prebuffering on athlons (3DNowEx) as the ones running at 266MHz
bus speed has troubles with it...
author | mswitch |
---|---|
date | Sat, 23 Mar 2002 16:36:42 +0000 |
parents | 77074a510629 |
children | 8037d34ce806 |
files | libvo/vo_dxr3.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/vo_dxr3.c Sat Mar 23 15:43:17 2002 +0000 +++ b/libvo/vo_dxr3.c Sat Mar 23 16:36:42 2002 +0000 @@ -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 @@ 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;