From 48112a74ed345940c8a8381b3df7f874b111b181 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 3 Feb 2014 22:00:59 +0100 Subject: player: refresh OSD on track switching Apparently, at least sub_reload was missing a refresh at all. --- player/loadfile.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/player/loadfile.c b/player/loadfile.c index 70cf2e9502..0b15d8752e 100644 --- a/player/loadfile.c +++ b/player/loadfile.c @@ -672,6 +672,8 @@ void mp_switch_track_n(struct MPContext *mpctx, int order, enum stream_type type } } + osd_changed_all(mpctx->osd); + talloc_free(mpctx->track_layout_hash); mpctx->track_layout_hash = talloc_steal(mpctx, track_layout_hash(mpctx)); } -- cgit v1.2.3