Mercurial > mplayer.hg
changeset 5310:1aaba2495aac
Fixed bug in Athlon detection code ;)
author | mswitch |
---|---|
date | Sun, 24 Mar 2002 18:01:08 +0000 |
parents | 2ce4e031f47a |
children | 91c8ffdd4721 |
files | libvo/vo_dxr3.c |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/vo_dxr3.c Sun Mar 24 15:33:12 2002 +0000 +++ b/libvo/vo_dxr3.c Sun Mar 24 18:01:08 2002 +0000 @@ -515,9 +515,11 @@ { 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;