Commit dbc7ea79 authored by Austin Yuan's avatar Austin Yuan

Fix vainfo unsupported_profile vastatus issue

Signed-off-by: default avatarAustin Yuan <shengquan.yuan@intel.com>
parent 696e11da
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment