Skip to content

Commit

Permalink
Merge pull request #99 from Idein/fix/inappropriate-ioctl-err
Browse files Browse the repository at this point in the history
Fix: error querying device capabilities from libv4lcontrol
  • Loading branch information
eldesh authored Sep 5, 2024
2 parents 6214fff + b9d7e96 commit 8794ede
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Unreleased

- Fix a bug: query non image_source devices for capabilities.

## 2.5.0 (2024-08-23)

- Add support for the `imx708_wide` sensor to `UnicamIspCapture`. Note: Autofocus is not supported.
Expand Down
2 changes: 1 addition & 1 deletion actfw_core/system.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ def _list_video_devices() -> List[str]:
cameras = [dev for dev in devs.devices if dev.type == "camera"]
paths: List[str] = []
for c in cameras:
for node in c.nodes:
for node in filter(lambda n: str(n.path).startswith("/dev/video"), c.nodes):
paths.append(str(node.path))
return paths

Expand Down

0 comments on commit 8794ede

Please sign in to comment.