From 97f552bf36de54dde877b0c98e3928370acf0203 Mon Sep 17 00:00:00 2001 From: Jose Tiago Macara Coutinho Date: Tue, 30 Jul 2024 07:49:56 +0200 Subject: [PATCH] Don't query video standard at info: it depends on the active input --- linuxpy/video/device.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/linuxpy/video/device.py b/linuxpy/video/device.py index ded59ee..607099e 100644 --- a/linuxpy/video/device.py +++ b/linuxpy/video/device.py @@ -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") @@ -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)), )