OSDN Git Service

Implement vaQueryDisplayAttributes() as a no-op.
authorGwenole Beauchesne <gbeauchesne@splitted-desktop.com>
Wed, 18 Nov 2009 03:40:24 +0000 (11:40 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Wed, 18 Nov 2009 03:50:10 +0000 (11:50 +0800)
i965_drv_video/i965_drv_video.c

index d26942d..375d532 100644 (file)
@@ -1031,8 +1031,10 @@ i965_QueryDisplayAttributes(VADriverContextP ctx,
                             VADisplayAttribute *attr_list,     /* out */
                             int *num_attributes)               /* out */
 {
-    /* TODO */
-    return VA_STATUS_ERROR_UNKNOWN;
+    if (num_attributes)
+        *num_attributes = 0;
+
+    return VA_STATUS_SUCCESS;
 }
 
 /*