tests: fix identity handoff signal signature (*args for GStreamer 1.28 compat)
This commit is contained in:
@@ -155,7 +155,7 @@ def _run_benchmark(
|
|||||||
# fakesink path: count frames via identity handoff signal
|
# fakesink path: count frames via identity handoff signal
|
||||||
probe = pipeline.get_by_name("probe")
|
probe = pipeline.get_by_name("probe")
|
||||||
if probe:
|
if probe:
|
||||||
def on_handoff(elem, buf, pad):
|
def on_handoff(*args):
|
||||||
n = frame_count[0]
|
n = frame_count[0]
|
||||||
frame_count[0] = n + 1
|
frame_count[0] = n + 1
|
||||||
if n >= WARMUP_FRAMES:
|
if n >= WARMUP_FRAMES:
|
||||||
|
|||||||
Reference in New Issue
Block a user