• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

hardware/intel/libva


Commit MetaInfo

Revisiondbc7ea7941fb8c27334d868f1a2b8454a8b7c9d3 (tree)
Time2009-04-04 07:03:17
AuthorAustin Yuan <shengquan.yuan@inte...>
CommiterAustin Yuan

Log Message

Fix vainfo unsupported_profile vastatus issue

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>

Change Summary

Incremental Difference

--- a/test/vainfo.c
+++ b/test/vainfo.c
@@ -113,11 +113,14 @@ int main(int argc, const char* argv[])
113113
114114 va_status = vaQueryConfigEntrypoints(va_dpy, profile, entrypoints,
115115 &num_entrypoint);
116+ if (va_status == VA_STATUS_ERROR_UNSUPPORTED_PROFILE)
117+ continue;
118+
116119 CHECK_VASTATUS(va_status, "vaQueryConfigEntrypoints", 4);
117120
118121 profile_str = profile_string(profile);
119122 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]));
121124 }
122125
123126 vaTerminate(va_dpy);