summaryrefslogtreecommitdiff
path: root/Documentation/environment_variables.rst
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2023-12-06 22:02:36 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2023-12-07 18:59:42 +0200
commit17d8b89deb1feb35ceba2f1310f4eea35fcb1d73 (patch)
tree6c6f5a0045a1c4091dbe97fb9b54e2f14f6d43b2 /Documentation/environment_variables.rst
parentefcda47985cbb631418449a57f3ade80ca12f8cb (diff)
test: gstreamer: Remove videoconvert element from pipeline
The GStreamer single stream test uses the following pipeline: libcamerasrc ! videoconvert ! fakesink The videoconvert element isn't useful as the data is thrown away by the fakesink anyway. We can shorten the pipeline to libcamerasrc ! fakesink to save CPU time and to avoid depending on the gstreamer1.0-plugins-base package to run the unit tests. The test could be further simplified by replacing gst_parse_bin_from_description_full() with gst_element_factory_make(), now that we only add one element to the bin. The extra cost incurred by the bin only impacts initialization time, and using a bin will make it easier to add other elements in the future if needed. Keep the bin, and only drop the videoconvert element. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Nicolas Dufresne <nicolas.dufresne@collabora.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'Documentation/environment_variables.rst')
0 files changed, 0 insertions, 0 deletions