summaryrefslogtreecommitdiff
path: root/src/gstreamer/gstlibcameraprovider.h
diff options
context:
space:
mode:
authorNicolas Dufresne <nicolas.dufresne@collabora.com>2020-01-14 10:55:01 -0500
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-03-07 01:57:45 +0200
commiteee8f56f0a7f34574752948027843bf6a1912e90 (patch)
tree1f3f61bf2ac1d9acb0fd242436cade5111582a43 /src/gstreamer/gstlibcameraprovider.h
parent17cccc68a88ffaaeb06fb2383ad27b5ccb627c24 (diff)
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 <nicolas.dufresne@collabora.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/gstreamer/gstlibcameraprovider.h')
0 files changed, 0 insertions, 0 deletions