return;
}
- /* 1. first check validate_type without target_window */
+ /* 1. first check validate_type without target_window and video */
for (i = 0; i < num_wnds; i++) {
switch (composited_list[i]->client_type) {
case HAL_TDM_HWC_WIN_COMPOSITION_VIDEO:
- if (num_layers <= 0) break;
composited_list[i]->validated_type = HAL_TDM_HWC_WIN_COMPOSITION_VIDEO;
video_count++;
continue;
set_clients_below = 1;
}
- /* 2. check need target window and set ui_lzpos top and bottom */
+ /* 2. check need target window and set lzpos top and bottom */
num_layers = output_data->overlay_layer_count + 1;
if ((client_count > 0) || ((device_count + video_count) > num_layers)) {