Skip to content

Commit

Permalink
Don't query video standard at info: it depends on the active input
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagocoutinho committed Jul 30, 2024
1 parent 0056f29 commit 97f552b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions linuxpy/video/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def human_pixel_format(ifmt):
Info = collections.namedtuple(
"Info",
"driver card bus_info version capabilities device_capabilities "
"crop_capabilities buffers formats frame_sizes inputs outputs controls video_standards",
"crop_capabilities buffers formats frame_sizes inputs outputs controls",
)

ImageFormat = collections.namedtuple("ImageFormat", "type description flags pixel_format")
Expand Down Expand Up @@ -425,7 +425,6 @@ def read_info(fd):
inputs=list(iter_read_inputs(fd)),
outputs=list(iter_read_outputs(fd)),
controls=list(iter_read_controls(fd)),
video_standards=list(iter_read_video_standards(fd)),
)


Expand Down

0 comments on commit 97f552b

Please sign in to comment.