summaryrefslogtreecommitdiffstats
path: root/player/playloop.c
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2021-11-29 13:12:02 +0100
committersfan5 <sfan5@live.de>2021-12-15 12:29:10 +0100
commit632059816adde518c67f6606e3cfdef5bec18b52 (patch)
treeb5d265830778cb7cea19db50a06c8afc4224c175 /player/playloop.c
parent72915e8b76b2e5da9ddc90e892a544b6de512f39 (diff)
downloadmpv-632059816adde518c67f6606e3cfdef5bec18b52.tar.bz2
mpv-632059816adde518c67f6606e3cfdef5bec18b52.tar.xz
libmpv: remove opengl_cb API and other deprecated symbols
Not all deprecated symbols were removed. Only three events were removed for now since these are not used internally. This bumps the library version to 2.0.
Diffstat (limited to 'player/playloop.c')
-rw-r--r--player/playloop.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/player/playloop.c b/player/playloop.c
index d0e7d26526..f2c39eb7a3 100644
--- a/player/playloop.c
+++ b/player/playloop.c
@@ -180,10 +180,6 @@ void set_pause_state(struct MPContext *mpctx, bool user_pause)
} else {
(void)get_relative_time(mpctx); // ignore time that passed during pause
}
-
- // For some reason, these events are supposed to be sent even if only
- // the internal pause state changed (and "pause" property didn't)... OK.
- mp_notify(mpctx, opts->pause ? MPV_EVENT_PAUSE : MPV_EVENT_UNPAUSE, 0);
}
update_core_idle_state(mpctx);