diff options
author | Gwenole Beauchesne <gwenole.beauchesne@intel.com> | 2011-06-27 21:19:51 -0700 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2011-06-29 09:54:14 +0800 |
commit | 8b72a3eeb6b29a0a793d05aed2938a98437b133d (patch) | |
tree | c66ef2dd8d6815a292232596fea2efc05871de08 | |
parent | 5751bb971e588e0d8c96179cf8ebc592a69b9782 (diff) |
i965_drv_video: fix subpicture scale factor for Y axis.
-rw-r--r-- | i965_render.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/i965_render.c b/i965_render.c index 1742fe5..d387cb9 100644 --- a/i965_render.c +++ b/i965_render.c @@ -891,7 +891,7 @@ i965_subpic_render_upload_vertex(VADriverContextP ctx, VARectangle dst_rect; dst_rect.x = output_rect->x + sx * (float)obj_subpic->dst_rect.x; - dst_rect.y = output_rect->y + sx * (float)obj_subpic->dst_rect.y; + dst_rect.y = output_rect->y + sy * (float)obj_subpic->dst_rect.y; dst_rect.width = sx * (float)obj_subpic->dst_rect.width; dst_rect.height = sy * (float)obj_subpic->dst_rect.height; |