summaryrefslogtreecommitdiffstats
path: root/player/discnav.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-07-02 14:38:03 +0200
committerwm4 <wm4@nowhere>2015-07-02 14:38:03 +0200
commita609877f00889a5cb5fe3e4e2877eec49cc90ab0 (patch)
tree5f5df4dfa14d685a6dd5471fb406826b5669d5ef /player/discnav.c
parenta9bbaa5eb29cae310ca8efd4f8d197de406683f7 (diff)
downloadmpv-a609877f00889a5cb5fe3e4e2877eec49cc90ab0.tar.bz2
mpv-a609877f00889a5cb5fe3e4e2877eec49cc90ab0.tar.xz
player: simplify reload logic
Instead of only reloading the demuxer, reopen the stream as well.
Diffstat (limited to 'player/discnav.c')
-rw-r--r--player/discnav.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/discnav.c b/player/discnav.c
index 91657f7f73..0b4537e5e1 100644
--- a/player/discnav.c
+++ b/player/discnav.c
@@ -234,7 +234,7 @@ void mp_handle_nav(struct MPContext *mpctx)
break;
}
case MP_NAV_EVENT_RESET_ALL: {
- mpctx->stop_play = PT_RELOAD_DEMUXER;
+ mpctx->stop_play = PT_RELOAD_FILE; // would wipe DVD state -> broken
MP_VERBOSE(nav, "reload\n");
// return immediately.
// other events should be handled after reloaded.