From acf83953a96e315b5fc3cd1fe071479aa90bd35d Mon Sep 17 00:00:00 2001 From: Christian Spielberger Date: Thu, 19 Oct 2023 15:13:27 +0200 Subject: [PATCH] test: call - move cancel_rule_pop for better debug output --- test/call.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/call.c b/test/call.c index e716f67a14..28b56b9b06 100644 --- a/test/call.c +++ b/test/call.c @@ -1314,7 +1314,6 @@ int test_call_change_videodir(void) err = re_main_timeout(5000); TEST_ERR(err); TEST_ERR(fix.err); - cancel_rule_pop(); ASSERT_TRUE(!call_has_video(ua_call(f->a.ua))); ASSERT_TRUE(call_has_video(ua_call(f->b.ua))); @@ -1326,6 +1325,7 @@ int test_call_change_videodir(void) vm = stream_sdpmedia(video_strm(call_video(ua_call(f->b.ua)))); ASSERT_EQ(SDP_SENDRECV, sdp_media_ldir(vm)); ASSERT_EQ(SDP_INACTIVE, sdp_media_rdir(vm)); + cancel_rule_pop(); /* Set video sendrecv */ err = call_set_video_dir(ua_call(f->a.ua), SDP_SENDRECV);