mirror of
https://github.com/mpv-player/mpv
synced 2025-03-21 10:51:51 +00:00
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];
|
char devname[80];
|
||||||
int fdflags = O_WRONLY;
|
int fdflags = O_WRONLY;
|
||||||
|
CpuCaps cpucaps;
|
||||||
|
|
||||||
|
GetCpuCaps(&cpucaps);
|
||||||
/* Open the control interface */
|
/* Open the control interface */
|
||||||
if ((arg && !strcmp("noprebuf", arg)) || gCpuCaps.has3DNowExt) {
|
if ((arg && !strcmp("noprebuf", arg)) || cpucaps.has3DNowExt) {
|
||||||
printf("VO: [dxr3] Disabling prebuffering.\n");
|
printf("VO: [dxr3] Disabling prebuffering.\n");
|
||||||
noprebuf = 1;
|
noprebuf = 1;
|
||||||
fdflags |= O_NONBLOCK;
|
fdflags |= O_NONBLOCK;
|
||||||
|
Loading…
Reference in New Issue
Block a user