diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2009-01-20 08:33:59 -0800 |
---|---|---|
committer | Aaron Plattner <aplattner@nvidia.com> | 2009-01-20 08:33:59 -0800 |
commit | 13eb27950da0f87950aeef9f009da189584db99e (patch) | |
tree | 85014a9bd5e9cc9def73cb53133ee70f94677ed6 | |
parent | dbe8cb63dd55cd4c7d2e399357fa6ec7e4b5049f (diff) |
vdpinfo-0.0.3
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | vdpinfo.cpp | 3 |
2 files changed, 2 insertions, 3 deletions
@@ -1,4 +1,4 @@ -CXXFLAGS=-O3 -ffast-math -g -march=opteron +CXXFLAGS=-O3 -g LDFLAGS=-lvdpau -lX11 PROGRAMS=vdpinfo diff --git a/vdpinfo.cpp b/vdpinfo.cpp index 34b20fc..28b7c99 100644 --- a/vdpinfo.cpp +++ b/vdpinfo.cpp @@ -255,8 +255,7 @@ void queryVideoMixer(VDPDeviceImpl *device) printf("------------------------------------\n"); for(int x=0; x<mixer_features_count; ++x) { - VdpBool is_supported; - + VdpBool is_supported = false; /* There seems to be a bug in VideoMixerQueryFeatureSupport, is_supported sometimes isn't written even though the operation was succesfuls */ rv = device->VideoMixerQueryFeatureSupport(device->device, mixer_features[x].id, &is_supported); is_supported = (rv == VDP_STATUS_OK && is_supported); |