summaryrefslogtreecommitdiff
path: root/src/gen8_post_processing.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gen8_post_processing.c')
-rw-r--r--src/gen8_post_processing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gen8_post_processing.c b/src/gen8_post_processing.c
index a4fbcbb..4fbc01e 100644
--- a/src/gen8_post_processing.c
+++ b/src/gen8_post_processing.c
@@ -540,7 +540,7 @@ gen8_pp_set_media_rw_message_surface(VADriverContextP ctx, struct i965_post_proc
height[2] = obj_image->image.height / 2;
pitch[2] = obj_image->image.pitches[V];
offset[2] = obj_image->image.offsets[V];
- if (fourcc == VA_FOURCC_YV16) {
+ if (fourcc == VA_FOURCC_YV16 || fourcc == VA_FOURCC_422H) {
width[1] = obj_image->image.width / 2;
height[1] = obj_image->image.height;
width[2] = obj_image->image.width / 2;