summaryrefslogtreecommitdiff
path: root/utils/codegen/gen-gst-controls.py
diff options
context:
space:
mode:
Diffstat (limited to 'utils/codegen/gen-gst-controls.py')
-rwxr-xr-xutils/codegen/gen-gst-controls.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/codegen/gen-gst-controls.py b/utils/codegen/gen-gst-controls.py
index 2601a675..df098826 100755
--- a/utils/codegen/gen-gst-controls.py
+++ b/utils/codegen/gen-gst-controls.py
@@ -154,7 +154,7 @@ def main(argv):
ctrls = controls.setdefault(vendor, [])
for ctrl in data['controls']:
- ctrl = Control(*ctrl.popitem(), vendor)
+ ctrl = Control(*ctrl.popitem(), vendor, mode='controls')
if ctrl.name in exposed_controls:
ctrls.append(extend_control(ctrl))