summaryrefslogtreecommitdiff
path: root/src/py/cam/cam_kms.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/py/cam/cam_kms.py')
-rw-r--r--src/py/cam/cam_kms.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/py/cam/cam_kms.py b/src/py/cam/cam_kms.py
index 04381da1..74cd3b38 100644
--- a/src/py/cam/cam_kms.py
+++ b/src/py/cam/cam_kms.py
@@ -126,7 +126,8 @@ class KMSRenderer:
})
for fb in ctx['allocator'].buffers(stream):
- w, h = cfg.size
+ w = cfg.size.width
+ h = cfg.size.height
fds = []
strides = []
offsets = []