summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAustin Yuan <shengquan.yuan@intel.com>2009-04-03 18:03:17 -0400
committerAustin Yuan <shengquan.yuan@intel.com>2009-04-03 18:03:17 -0400
commitdbc7ea7941fb8c27334d868f1a2b8454a8b7c9d3 (patch)
treea853e52167c22674fc9218bd23c5a030ce3b4293
parent696e11dab74806d7b86b8739b8a95098a23886dd (diff)
Fix vainfo unsupported_profile vastatus issue04212009_Alpha1.1041420090413200904082009
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
-rw-r--r--test/vainfo.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/vainfo.c b/test/vainfo.c
index fb0d221..a886815 100644
--- a/test/vainfo.c
+++ b/test/vainfo.c
@@ -113,11 +113,14 @@ int main(int argc, const char* argv[])
va_status = vaQueryConfigEntrypoints(va_dpy, profile, entrypoints,
&num_entrypoint);
+ if (va_status == VA_STATUS_ERROR_UNSUPPORTED_PROFILE)
+ continue;
+
CHECK_VASTATUS(va_status, "vaQueryConfigEntrypoints", 4);
profile_str = profile_string(profile);
for (entrypoint = 0; entrypoint < num_entrypoint; entrypoint++)
- printf(" %32s:%s\n", profile_str, entrypoint_string(entrypoints[entrypoint]));
+ printf(" %-32s: %s\n", profile_str, entrypoint_string(entrypoints[entrypoint]));
}
vaTerminate(va_dpy);