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:
parent
be02ab0d74
commit
549f3b19d7
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user