summaryrefslogtreecommitdiff
path: root/src/gstreamer/gstlibcameraallocator.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-09-03 22:03:01 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-09-05 23:31:12 +0300
commite6886f63529bce803433158bb81dfb6550b5b10c (patch)
treef774704ef527ebeafcf2593b3b5ead9fe56a5c63 /src/gstreamer/gstlibcameraallocator.h
parent3335d5a504374166f749a267ba1e1d803a0ed1f6 (diff)
v4l2: Use V4L2PixelFormat::toPixelFormat()
Replace the open-coded PixelFormat lookup with the V4L2PixelFormat::toPixelFormat() helper function. This simplifies the implementation. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Umang Jain <umang.jain@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasoboard.com>
Diffstat (limited to 'src/gstreamer/gstlibcameraallocator.h')
0 files changed, 0 insertions, 0 deletions