libhwcomposer: Fix bug caused by change 152124

The change in 152124 makes the yuvLayerIndex equal to the pipLayerIndex
because of which overlay is used only for the pip video and not the main
video. Removing the assignment operation since that is updated when
yuvCount is 1.

Change-Id: I4a96a0e57c43e2c4888d3497229a9a24dde2ca27
This commit is contained in:
Prashant Surana 2012-09-25 16:30:07 +05:30 committed by andrew.boren
parent 638d873edb
commit 35bec0b0bf

View File

@ -154,7 +154,6 @@ void getLayerStats(hwc_context_t *ctx, const hwc_layer_list_t *list)
//second video
pipLayerIndex = i;
}
yuvLayerIndex = i;
yuvSecure = isSecureBuffer(hnd);
//Animating
//Do not mark as SKIP if it is secure buffer