summaryrefslogtreecommitdiffstats
path: root/player/dvdnav.c
diff options
context:
space:
mode:
Diffstat (limited to 'player/dvdnav.c')
-rw-r--r--player/dvdnav.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/player/dvdnav.c b/player/dvdnav.c
index 6c5fed2ed6..3f711b4834 100644
--- a/player/dvdnav.c
+++ b/player/dvdnav.c
@@ -140,7 +140,9 @@ void mp_handle_nav(struct MPContext *mpctx)
case MP_NAV_EVENT_RESET_ALL: {
mpctx->stop_play = PT_RELOAD_DEMUXER;
MP_VERBOSE(nav, "reload\n");
- break;
+ // return immediately.
+ // other events should be handled after reloaded.
+ return;
}
case MP_NAV_EVENT_RESET: {
nav->nav_still_frame = 0;