mirror of https://github.com/mpv-player/mpv
Fixed bug in Athlon detection code ;)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5311 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
eb89d8effe
commit
7bb3412a05
|
@ -515,9 +515,11 @@ static uint32_t preinit(const char *arg)
|
|||
{
|
||||
char devname[80];
|
||||
int fdflags = O_WRONLY;
|
||||
CpuCaps cpucaps;
|
||||
|
||||
GetCpuCaps(&cpucaps);
|
||||
/* Open the control interface */
|
||||
if ((arg && !strcmp("noprebuf", arg)) || gCpuCaps.has3DNowExt) {
|
||||
if ((arg && !strcmp("noprebuf", arg)) || cpucaps.has3DNowExt) {
|
||||
printf("VO: [dxr3] Disabling prebuffering.\n");
|
||||
noprebuf = 1;
|
||||
fdflags |= O_NONBLOCK;
|
||||
|
|
Loading…
Reference in New Issue