Merge pull request #2770 from Yuva1024/fix/avplayer-unsynced-test-autostart
test(avplayer): stop the unsynced test racing the player's auto-start
This commit is contained in:
commit
64baa79b65
|
|
@ -1061,7 +1061,8 @@ void TestAutoStartKeepsStartedPlayback() {
|
|||
}
|
||||
|
||||
void TestUnsyncedVideoKeepsUpWithAudio() {
|
||||
AvPlayerInitData init = InitData(nullptr);
|
||||
Events events;
|
||||
AvPlayerInitData init = InitData(&events);
|
||||
auto* player = sceAvPlayerInit(&init);
|
||||
Check(player != nullptr, "init failed");
|
||||
Check(sceAvPlayerSetAvSyncMode(player, 1) == 0, "sync mode rejected");
|
||||
|
|
|
|||
Loading…
Reference in New Issue