hardware/intel/libva
Revision | dbc7ea7941fb8c27334d868f1a2b8454a8b7c9d3 (tree) |
---|---|
Time | 2009-04-04 07:03:17 |
Author | Austin Yuan <shengquan.yuan@inte...> |
Commiter | Austin Yuan |
Fix vainfo unsupported_profile vastatus issue
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
@@ -113,11 +113,14 @@ int main(int argc, const char* argv[]) | ||
113 | 113 | |
114 | 114 | va_status = vaQueryConfigEntrypoints(va_dpy, profile, entrypoints, |
115 | 115 | &num_entrypoint); |
116 | + if (va_status == VA_STATUS_ERROR_UNSUPPORTED_PROFILE) | |
117 | + continue; | |
118 | + | |
116 | 119 | CHECK_VASTATUS(va_status, "vaQueryConfigEntrypoints", 4); |
117 | 120 | |
118 | 121 | profile_str = profile_string(profile); |
119 | 122 | for (entrypoint = 0; entrypoint < num_entrypoint; entrypoint++) |
120 | - printf(" %32s:%s\n", profile_str, entrypoint_string(entrypoints[entrypoint])); | |
123 | + printf(" %-32s: %s\n", profile_str, entrypoint_string(entrypoints[entrypoint])); | |
121 | 124 | } |
122 | 125 | |
123 | 126 | vaTerminate(va_dpy); |