From 01153d3d2c80ff2508e92f58e5fbad9d7b76ef49 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Date: Tue, 21 Feb 2023 11:52:16 +0100 Subject: [PATCH] Reuse player stream clock --- src/emu/player.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/emu/player.c b/src/emu/player.c index 6aa3435..513adcf 100644 --- a/src/emu/player.c +++ b/src/emu/player.c @@ -198,8 +198,7 @@ player_step(struct player *player) player->stream = stream; struct ovni_ev *oev = stream_ev(stream); - int64_t sclock = stream_evclock(stream, oev); - emu_ev(&player->ev, oev, sclock, player->deltaclock); + emu_ev(&player->ev, oev, player->lastclock, player->deltaclock); return 0; }