[v4l-utils] [PATCH 1/2] utils: libv4l2subdev: Drop stream support for the crop API

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


The subdev crop API has never had working streams support in the kernel.
The stream field of the v4l2_subdev_crop structure will be removed,
prepare for that by not setting it.

Signed-off-by: Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx>
 utils/media-ctl/libv4l2subdev.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/utils/media-ctl/libv4l2subdev.c b/utils/media-ctl/libv4l2subdev.c
index c614f4a2e0fd..b9d33fb301f0 100644
--- a/utils/media-ctl/libv4l2subdev.c
+++ b/utils/media-ctl/libv4l2subdev.c
@@ -226,7 +226,6 @@ int v4l2_subdev_set_selection(struct media_entity *entity,
 	memset(&u.crop, 0, sizeof(u.crop));
 	u.crop.pad = pad;
-	u.crop.stream = stream;
 	u.crop.which = which;
 	u.crop.rect = *rect;

Laurent Pinchart

[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux