summaryrefslogtreecommitdiffstats
path: root/player/loadfile.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-02-28 01:31:38 +0100
committerwm4 <wm4@nowhere>2014-02-28 01:31:38 +0100
commitc30bf22d8d31336696430406b0483bfc9821c8bb (patch)
tree20686c0dee0993bc01199f8e87150c6622319a9a /player/loadfile.c
parent1852555ca1100e06e970a9c9703ebcb045ff6006 (diff)
downloadmpv-c30bf22d8d31336696430406b0483bfc9821c8bb.tar.bz2
mpv-c30bf22d8d31336696430406b0483bfc9821c8bb.tar.xz
client API: rename MPV_EVENT_PLAYBACK_START, add MPV_EVENT_SEEK
Rename MPV_EVENT_PLAYBACK_START to MPV_EVENT_FILE_LOADED. Add MPV_EVENT_SEEK and MPV_EVENT_PLAYBACK_RESTART.
Diffstat (limited to 'player/loadfile.c')
-rw-r--r--player/loadfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/loadfile.c b/player/loadfile.c
index 90b2484ccf..28c4c4f146 100644
--- a/player/loadfile.c
+++ b/player/loadfile.c
@@ -1341,7 +1341,7 @@ goto_reopen_demuxer: ;
if (mpctx->opts->pause)
pause_player(mpctx, PAUSE_BY_COMMAND);
- mp_notify(mpctx, MPV_EVENT_PLAYBACK_START, NULL);
+ mp_notify(mpctx, MPV_EVENT_FILE_LOADED, NULL);
playback_start = mp_time_sec();
mpctx->error_playing = false;