diff options
author | Aaron Plattner <aplattner@nvidia.com> | 2014-12-19 11:10:58 -0800 |
---|---|---|
committer | Aaron Plattner <aplattner@nvidia.com> | 2014-12-19 12:19:34 -0800 |
commit | aae67cf348ddf36bf7274afd7d809b7018f15d61 (patch) | |
tree | 020d961b1155b0558c36a146632b359561497505 | |
parent | 2ecd4961fd6fb292aab064221c21456a059811cc (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.cpp | 2 |
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); } } } |