From eee8f56f0a7f34574752948027843bf6a1912e90 Mon Sep 17 00:00:00 2001 From: Nicolas Dufresne Date: Tue, 14 Jan 2020 10:55:01 -0500 Subject: gst: Add utility to convert StreamFormats to GstCaps This transforms the basic information found in StreamFormats to GstCaps. This can be handy to reply to early caps query or inside a device provider. Note that we ignored generated range as they are harmful to caps negotiation. We also don't simplify the caps for readability reasons, so some of the discrete value may be included in a range. Signed-off-by: Nicolas Dufresne Reviewed-by: Laurent Pinchart Signed-off-by: Laurent Pinchart --- src/gstreamer/meson.build | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gstreamer/meson.build') diff --git a/src/gstreamer/meson.build b/src/gstreamer/meson.build index 490e030e..9b11a46f 100644 --- a/src/gstreamer/meson.build +++ b/src/gstreamer/meson.build @@ -1,4 +1,5 @@ libcamera_gst_sources = [ + 'gstlibcamera-utils.cpp', 'gstlibcamera.c', 'gstlibcamerasrc.cpp', ] -- cgit v1.2.1