From 9921026195b2e4e5d107c5fa925beabffe9efcc4 Mon Sep 17 00:00:00 2001 From: dongwei Date: Tue, 30 May 2023 14:26:04 +0800 Subject: [PATCH] =?UTF-8?q?AVPlayerLocalTest=20=E5=81=B6=E7=8E=B0fail?= =?UTF-8?q?=E9=97=AE=E9=A2=98=E8=A7=A3=E5=86=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: dongwei --- multimedia/media/media_js_standard/AVPlayerTestBase.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/multimedia/media/media_js_standard/AVPlayerTestBase.js b/multimedia/media/media_js_standard/AVPlayerTestBase.js index 31aaeef74..415b8448c 100644 --- a/multimedia/media/media_js_standard/AVPlayerTestBase.js +++ b/multimedia/media/media_js_standard/AVPlayerTestBase.js @@ -284,7 +284,7 @@ export function setAVPlayerFunCb(src, avPlayer, playTest, playTime, done) { completedCnt++; expect(avPlayer.currentTime).assertEqual(avPlayer.duration); expect(avPlayer.state).assertEqual(AV_PLAYER_STATE.COMPLETED); - if (completedCnt == 1) { + if (completedCnt == 1 && seekDoneCnt[0] < 5) { // step 9: completed -> play avPlayer.play(); } else { -- GitLab