summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLi Xiaowei <xiaowei.a.li@intel.com>2012-12-21 10:51:33 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2013-01-17 13:08:39 +0800
commita6255dafe7807b306449cc883380fad300256180 (patch)
tree3179003c6c7b04649cd78fca4b9d0a1d86448b07 /src
parent4dd1bd0d16ae7ee799c105a4ade5655ec0ed20dc (diff)
downloadvaapi-intel-driver-a6255dafe7807b306449cc883380fad300256180.tar.gz
vaapi-intel-driver-a6255dafe7807b306449cc883380fad300256180.tar.bz2
vaapi-intel-driver-a6255dafe7807b306449cc883380fad300256180.zip
Enable MPEG2 encoding flag for gen7 codec info
Signed-off-by: Li Xiaowei <xiaowei.a.li@intel.com>
Diffstat (limited to 'src')
-rwxr-xr-xsrc/i965_drv_video.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/i965_drv_video.c b/src/i965_drv_video.c
index 1dbbcbb..6637243 100755
--- a/src/i965_drv_video.c
+++ b/src/i965_drv_video.c
@@ -225,6 +225,7 @@ static struct hw_codec_info gen6_hw_codec_info = {
.max_height = 2048,
.has_mpeg2_decoding = 1,
+ .has_mpeg2_encoding = 1,
.has_h264_decoding = 1,
.has_h264_encoding = 1,
.has_vc1_decoding = 1,
@@ -244,6 +245,7 @@ static struct hw_codec_info gen7_hw_codec_info = {
.max_height = 4096,
.has_mpeg2_decoding = 1,
+ .has_mpeg2_encoding = 1,
.has_h264_decoding = 1,
.has_h264_encoding = 1,
.has_vc1_decoding = 1,