From 3bfb1adbce29a149b07e93261414af52ca837eab Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Thu, 4 Apr 2024 17:20:42 +0200 Subject: [PATCH] Fix stream parameter in process_timings script --- tools/process_timings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/process_timings.py b/tools/process_timings.py index 9416d6b1..97c9db66 100755 --- a/tools/process_timings.py +++ b/tools/process_timings.py @@ -76,5 +76,5 @@ def durations(frames, stream=None, flag=None, *args, **kwargs): if flag is None: return True return flag in frame.flags.get(stream, ()) - res = [frame.duration(*args, **kwargs) for frame in frames if filter(frame)] + res = [frame.duration(*args, stream=stream, **kwargs) for frame in frames if filter(frame)] return [d for d in res if d is not None]