未验证 提交 c8c06e09 编写于 作者: O openharmony_ci 提交者: Gitee

!8826 AVPlayerLocalTest 偶现fail问题解决 4.0Beta1

Merge pull request !8826 from Nicklaus/OpenHarmony-4.0-Beta1
......@@ -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 {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册