diff options
Diffstat (limited to 'liboverlay')
-rw-r--r-- | liboverlay/overlay.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/liboverlay/overlay.cpp b/liboverlay/overlay.cpp index 12b747f..73c3501 100644 --- a/liboverlay/overlay.cpp +++ b/liboverlay/overlay.cpp @@ -802,16 +802,13 @@ static int overlay_setParameter(struct overlay_control_device_t *dev, stage->rotation = 0; stage->flip = V4L2_CID_VFLIP; break; - /* - * FIMC rotates first. but android devices flip first. - */ case OVERLAY_TRANSFORM_ROT_90+OVERLAY_TRANSFORM_FLIP_H: stage->rotation = 90; - stage->flip = V4L2_CID_VFLIP; + stage->flip = V4L2_CID_HFLIP; break; case OVERLAY_TRANSFORM_ROT_90+OVERLAY_TRANSFORM_FLIP_V: stage->rotation = 90; - stage->flip = V4L2_CID_HFLIP; + stage->flip = V4L2_CID_VFLIP; break; default: |