Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
tomba committed Dec 13, 2023
1 parent 61964fb commit ba9cff0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions v4l2/videodev.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ def get_meta_capture_streamer(self, mem_type):

class CaptureStreamer:
_fourcc_bitspp_map = {
v4l2.uapi.V4L2_PIX_FMT_UYVY: 16,
v4l2.uapi.V4L2_PIX_FMT_YUYV: 16,
v4l2.uapi.V4L2_PIX_FMT_SRGGB12: 16,
v4l2.pixelformats.PixelFormat.UYVY: 16,
v4l2.pixelformats.PixelFormat.YUYV: 16,
v4l2.pixelformats.PixelFormat.SRGGB12: 16,
}

def __init__(self, vdev: VideoDevice, mem_type, buf_type) -> None:
Expand Down

0 comments on commit ba9cff0

Please sign in to comment.