From: Austin Yuan Date: Fri, 3 Apr 2009 22:03:17 +0000 (-0400) Subject: Fix vainfo unsupported_profile vastatus issue X-Git-Tag: 04082009 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dbc7ea7941fb8c27334d868f1a2b8454a8b7c9d3;p=platform%2Fupstream%2Flibva.git Fix vainfo unsupported_profile vastatus issue Signed-off-by: Austin Yuan --- 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);