From 5e672f01d90656c7c32f385be91eab376da889f8 Mon Sep 17 00:00:00 2001 From: evgeny Date: Sun, 18 Oct 2026 17:05:54 +0200 Subject: [PATCH] =?UTF-8?q?=D0=9F=D1=80=D0=BE=D0=B2=D0=B5=D1=80=D0=B8?= =?UTF-8?q?=D1=82=D1=8C=20=D0=BE=D1=82=D0=BC=D0=B5=D0=BD=D1=83=20=D0=BF?= =?UTF-8?q?=D0=B0=D1=87=D0=BA=D0=B8=20=D0=B2=D0=B8=D0=B4=D0=B5=D0=BE=D0=BA?= =?UTF-8?q?=D0=B0=D0=B4=D1=80=D0=BE=D0=B2=20=D0=BF=D1=80=D0=B8=20=D0=B7?= =?UTF-8?q?=D0=B0=D0=B2=D0=B5=D1=80=D1=88=D0=B5=D0=BD=D0=B8=D0=B8=20=D0=B7?= =?UTF-8?q?=D0=B2=D0=BE=D0=BD=D0=BA=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/test_call.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_call.c b/tests/test_call.c index c0f3b92f..d9a3eeb8 100644 --- a/tests/test_call.c +++ b/tests/test_call.c @@ -722,9 +722,10 @@ static void call_tick(void* arg) { struct call_video_frame f = video_test_frame(t->call_id, 1); f.frame_id = 4; f.pts_us += 99999; if (call_video_send_frame(B, &f) != 0) { DEBUG_ERROR(DEBUG_CATEGORY_CALL, "video ignored decoder rejection"); t->result = 2; break; } // Все команды попадут в uasync после синхронного ENDED; TX ещё принадлежит mailbox. + struct call_video_frame closing[2] = {f, f}; ++closing[1].frame_id; closing[1].pts_us += 33333; if (call_video_port_format(t->call_id, &f.format, 500000) || call_video_port_applied(t->call_id, 1, 1, 500000) - || call_video_port_decoded(t->call_id, 1, 1) || call_video_port_send(&f, 1) != 1) { + || call_video_port_decoded(t->call_id, 1, 1) || call_video_port_send(closing, 2) != 1) { DEBUG_ERROR(DEBUG_CATEGORY_CALL, "video teardown commands were not queued"); t->result = 2; break; } call_video_port_request_key(t->call_id);