summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Plattner <aplattner@nvidia.com>2014-12-19 11:10:58 -0800
committerAaron Plattner <aplattner@nvidia.com>2014-12-19 12:19:34 -0800
commitaae67cf348ddf36bf7274afd7d809b7018f15d61 (patch)
tree020d961b1155b0558c36a146632b359561497505
parent2ecd4961fd6fb292aab064221c21456a059811cc (diff)
List profiles that are not supported as well
For profiles that are defined by libvdpau but not supported by the backend, print a line indicating that they're not supported. Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
-rw-r--r--vdpauinfo.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/vdpauinfo.cpp b/vdpauinfo.cpp
index 147d61a..46aa9eb 100644
--- a/vdpauinfo.cpp
+++ b/vdpauinfo.cpp
@@ -377,6 +377,8 @@ void queryDecoderCaps(VDPDeviceImpl *device)
{
printf("%-30s %2i %5i %5i %5i\n", decoder_profiles[x].name,
max_level, max_macroblocks, max_width, max_height);
+ } else {
+ printf("%-30s --- not supported ---\n", decoder_profiles[x].name);
}
}
}