From 119efdc19704cc94d4d71fa947fdf7844018abfe Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 20 Jan 2014 19:30:52 +0100 Subject: lua: add playback-start event --- player/loadfile.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'player/loadfile.c') diff --git a/player/loadfile.c b/player/loadfile.c index b81da983f8..d673a176c2 100644 --- a/player/loadfile.c +++ b/player/loadfile.c @@ -1332,6 +1332,8 @@ goto_reopen_demuxer: ; if (mpctx->opts->pause) pause_player(mpctx); + mp_notify(mpctx, MP_EVENT_PLAYBACK_START, NULL); + playback_start = mp_time_sec(); mpctx->error_playing = false; while (!mpctx->stop_play) -- cgit v1.2.3