summaryrefslogtreecommitdiffstats
path: root/player/playloop.c
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2021-12-02 17:19:39 +0100
committersfan5 <sfan5@live.de>2021-12-15 12:29:10 +0100
commitf9fd50c6546f2fa510251267d6423d3f342ca115 (patch)
tree2200756cb0da12b9b62e5ca381a5d139d4703da7 /player/playloop.c
parentdfcd561ba9087c2a62cb7034c5e661d0b57ad660 (diff)
downloadmpv-f9fd50c6546f2fa510251267d6423d3f342ca115.tar.bz2
mpv-f9fd50c6546f2fa510251267d6423d3f342ca115.tar.xz
player: make deprecated track/chapter/metadata events internal
We still need these to track or notify of modifications to certain properties, but they're now gone from the libmpv ABI.
Diffstat (limited to 'player/playloop.c')
-rw-r--r--player/playloop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/playloop.c b/player/playloop.c
index f2c39eb7a3..8d8f0fd8ae 100644
--- a/player/playloop.c
+++ b/player/playloop.c
@@ -962,7 +962,7 @@ static void handle_chapter_change(struct MPContext *mpctx)
int chapter = get_current_chapter(mpctx);
if (chapter != mpctx->last_chapter) {
mpctx->last_chapter = chapter;
- mp_notify(mpctx, MPV_EVENT_CHAPTER_CHANGE, NULL);
+ mp_notify(mpctx, MP_EVENT_CHAPTER_CHANGE, NULL);
}
}