From fb8e0404a6dd4810ab2590be5332cd37fb714b41 Mon Sep 17 00:00:00 2001 From: j Date: Sun, 12 Oct 2025 20:18:41 +1300 Subject: [PATCH] Update transcode_bench.py --- transcode_bench.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/transcode_bench.py b/transcode_bench.py index 03c672b..1ac4181 100755 --- a/transcode_bench.py +++ b/transcode_bench.py @@ -194,7 +194,7 @@ class HardwareAcceleration: if not os.access(device, os.R_OK | os.W_OK): return (False, f"VA-API device {device} exists but not accessible. Run: sudo usermod -a -G render $USER (then logout/login)", - '') + '', '', False) # Test VA-API for both encoding and decoding try: @@ -528,7 +528,7 @@ def main(): try: # Run benchmark - benchmark = Benchmark(test_video, encoder, hwaccel_args, accel_name) + benchmark = Benchmark(test_video, encoder, hwaccel_args, accel_name, hw_decode) max_streams = benchmark.find_max_streams(args.min_fps) # Display results