Reuse player stream clock

This commit is contained in:
Rodrigo Arias 2023-02-21 11:52:16 +01:00 committed by Rodrigo Arias Mallo
parent 65ecc75afd
commit 01153d3d2c

View File

@ -198,8 +198,7 @@ player_step(struct player *player)
player->stream = stream; player->stream = stream;
struct ovni_ev *oev = stream_ev(stream); struct ovni_ev *oev = stream_ev(stream);
int64_t sclock = stream_evclock(stream, oev); emu_ev(&player->ev, oev, player->lastclock, player->deltaclock);
emu_ev(&player->ev, oev, sclock, player->deltaclock);
return 0; return 0;
} }