Correctly restart playback after fluid_player_stop()

Fixes #550
This commit is contained in:
derselbst 2019-08-15 16:12:55 +02:00
parent df893bbfa4
commit 81a86e33ab

View file

@ -2147,6 +2147,7 @@ int
fluid_player_stop(fluid_player_t *player) fluid_player_stop(fluid_player_t *player)
{ {
player->status = FLUID_PLAYER_READY; player->status = FLUID_PLAYER_READY;
fluid_player_seek(player, fluid_player_get_current_tick(player));
return FLUID_OK; return FLUID_OK;
} }