diff --git a/utils/cam_kms.py b/utils/cam_kms.py index 74805b8..159f887 100644 --- a/utils/cam_kms.py +++ b/utils/cam_kms.py @@ -80,7 +80,8 @@ def __init__(self, ctx) -> None: else: raise RuntimeError('Unable to adjust formats') - print(f'Adjusted kms width from {kms_w} to {stream['kms-buf-w']}') + if kms_w != stream['kms-buf-w']: + print(f'Adjusted kms width from {kms_w} to {stream['kms-buf-w']}') if ctx.buf_type == 'drm' and stream.get('embedded', False): divs = [16, 8, 4, 2, 1]