projects
/
profile
/
ivi
/
vaapi-intel-driver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
654ad38
)
Fix the error code for unsupported resolution
author
Xiang, Haihao
<haihao.xiang@intel.com>
Fri, 4 May 2012 03:05:52 +0000
(11:05 +0800)
committer
Xiang, Haihao
<haihao.xiang@intel.com>
Fri, 4 May 2012 03:10:51 +0000
(11:10 +0800)
Thank Gwenole for pointing it out
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
(cherry picked from commit
d0dfefde77ebe6093e304a84df796c6e1157f00a
)
src/i965_drv_video.c
patch
|
blob
|
history
diff --git
a/src/i965_drv_video.c
b/src/i965_drv_video.c
index
c7892cd
..
05ba908
100644
(file)
--- a/
src/i965_drv_video.c
+++ b/
src/i965_drv_video.c
@@
-987,7
+987,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;
}