improve naming, remove flags as not needed (#1108)

* improve naming, remove flags as not needed

* fix lint
This commit is contained in:
Henry Ruhs
2026-05-13 13:34:37 +02:00
committed by GitHub
parent bff222a12f
commit 9e1c068938
3 changed files with 26 additions and 30 deletions
+3 -3
View File
@@ -36,12 +36,12 @@ def test_encode_vpx_buffer() -> None:
buffer_invalid = bytes(0)
if is_linux() or is_windows():
assert create_hash(encode_vpx_buffer(vpx_encoder, buffer_valid, frame_resolution, 3, 1)) == 'ce133a1f'
assert create_hash(encode_vpx_buffer(vpx_encoder, buffer_valid, frame_resolution, 3)) == 'ce133a1f'
if is_macos():
assert create_hash(encode_vpx_buffer(vpx_encoder, buffer_valid, frame_resolution, 3, 1)) == '21c36925'
assert create_hash(encode_vpx_buffer(vpx_encoder, buffer_valid, frame_resolution, 3)) == '21c36925'
assert encode_vpx_buffer(vpx_encoder, buffer_invalid, frame_resolution, 0, 0) == b''
assert encode_vpx_buffer(vpx_encoder, buffer_invalid, frame_resolution, 0) == b''
def test_destroy_vpx_encoder() -> None: