hwc: video: Update destination x, y

Update destination x, y after an out-of-bounds video's bounds are recalculated
for crop and destination position.

Change-Id: I5419f7ae054f709111c39d79ec721686f474ae53
This commit is contained in:
Saurabh Shah 2012-07-31 10:49:02 -07:00 committed by Linux Build Service Account
parent be02ab0d74
commit 549f3b19d7

View File

@ -160,6 +160,8 @@ bool configPrimVid(hwc_context_t *ctx, hwc_layer_t *layer) {
dcrop.w = sourceCrop.right - sourceCrop.left;
dcrop.h = sourceCrop.bottom - sourceCrop.top;
dpos.x = displayFrame.left;
dpos.y = displayFrame.top;
dpos.w = displayFrame.right - displayFrame.left;
dpos.h = displayFrame.bottom - displayFrame.top;
}