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
This commit is contained in:
mswitch 2002-03-23 16:36:42 +00:00
parent a254cc288e
commit 1dccf216e6
1 changed files with 2 additions and 1 deletions

View File

@ -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;