commit | 4081bb043197e3175f793b184634c41e467dd456 | [log] [tgz] |
---|---|---|
author | Philipp Zabel <p.zabel@pengutronix.de> | Mon Jun 25 16:03:17 2018 +0200 |
committer | Nicolas Dufresne <nicolas.dufresne@collabora.com> | Wed Jun 27 17:03:56 2018 -0400 |
tree | cb1ca2cee66865daca737e933e7a16bcada65e07 | |
parent | 161dd7a55ddd3fa345844d4692852adbc232d5dd [diff] |
v4l2object: use S_SELECTION instead of S_CROP in gst_v4l2_object_set_crop The S_CROP call doesn't work on mem2mem output queues. Use the S_SELECTION call to set the crop rectangle and only fall back to S_CROP for ancient kernels. This will allow v4l2videoenc to set the coded size on the output queue via S_FMT and then set the visible size via the crop rectangle, as required by the V4L2 codec API. https://bugzilla.gnome.org/show_bug.cgi?id=796672