• 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/common/libva


Commit MetaInfo

Revision0476de6baac13ee2898558701801e9cdb7186140 (tree)
Time2009-11-18 12:50:34
AuthorGwenole Beauchesne <gbeauchesne@spli...>
CommiterXiang, Haihao

Log Message

Fix vaQueryImageFormats() to return 0 image formats supported at this time.

Change Summary

Incremental Difference

--- a/i965_drv_video/i965_drv_video.c
+++ b/i965_drv_video/i965_drv_video.c
@@ -346,6 +346,9 @@ i965_QueryImageFormats(VADriverContextP ctx,
346346 VAImageFormat *format_list, /* out */
347347 int *num_formats) /* out */
348348 {
349+ if (num_formats)
350+ *num_formats = 0;
351+
349352 return VA_STATUS_SUCCESS;
350353 }
351354