diff options
author | Xiang, Haihao <haihao.xiang@intel.com> | 2012-05-04 11:05:52 +0800 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2012-05-04 11:07:08 +0800 |
commit | d0dfefde77ebe6093e304a84df796c6e1157f00a (patch) | |
tree | 897ac739a41780f6343b915e6b953f477a3b4fb4 | |
parent | 1c00e5916b59439fc7d8b0a59e82bc6bce2eb2de (diff) |
Fix the error code for unsupported resolution
Thank Gwenole for pointing it out
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
-rw-r--r-- | src/i965_drv_video.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i965_drv_video.c b/src/i965_drv_video.c index cb600f3..0526efc 100644 --- a/src/i965_drv_video.c +++ b/src/i965_drv_video.c @@ -848,7 +848,7 @@ i965_CreateContext(VADriverContextP ctx, if (picture_width > i965->codec_info->max_width || picture_height > i965->codec_info->max_height) { - vaStatus = VA_STATUS_ERROR_INVALID_PARAMETER; + vaStatus = VA_STATUS_ERROR_RESOLUTION_NOT_SUPPORTED; return vaStatus; } |