summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);