mirror of https://github.com/mpv-player/mpv
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:
parent
a254cc288e
commit
1dccf216e6
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue