*rect = u.sel.r;
return 0;
}
- if (errno != ENOTTY || target != V4L2_SUBDEV_SEL_TGT_CROP_ACTUAL)
+ if (errno != ENOTTY || target != V4L2_SUBDEV_SEL_TGT_CROP)
return -errno;
memset(&u.crop, 0, sizeof(u.crop));
*rect = u.sel.r;
return 0;
}
- if (errno != ENOTTY || target != V4L2_SUBDEV_SEL_TGT_CROP_ACTUAL)
+ if (errno != ENOTTY || target != V4L2_SUBDEV_SEL_TGT_CROP)
return -errno;
memset(&u.crop, 0, sizeof(u.crop));
return ret;
}
- ret = set_selection(pad, V4L2_SUBDEV_SEL_TGT_CROP_ACTUAL, &crop);
+ ret = set_selection(pad, V4L2_SUBDEV_SEL_TGT_CROP, &crop);
if (ret < 0)
return ret;
- ret = set_selection(pad, V4L2_SUBDEV_SEL_TGT_COMPOSE_ACTUAL, &compose);
+ ret = set_selection(pad, V4L2_SUBDEV_SEL_TGT_COMPOSE, &compose);
if (ret < 0)
return ret;