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 82dcfca commit 61964fb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion utils/cam.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,6 @@
if not stream.get("embedded", False):
mem_type = v4l2.uapi.V4L2_MEMORY_DMABUF if args.type == "drm" else v4l2.uapi.V4L2_MEMORY_MMAP
cap = vd.get_capture_streamer(mem_type)
cap.set_port(0)
cap.set_format(stream["fourcc"], stream["w"], stream["h"])
else:
cap = vd.get_meta_capture_streamer(mem_type)
Expand Down
3 changes: 0 additions & 3 deletions v4l2/videodev.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,6 @@ def __init__(self, vdev: VideoDevice, mem_type, buf_type) -> None:
self.buf_type = buf_type
self.fbs = []

def set_port(self, port):
pass

def set_format(self, fourcc, width, height):
global __fourcc_bitspp_map

Expand Down

0 comments on commit 61964fb

Please sign in to comment.