From 208c54a710e5e5d823c9b046a2bf0159060e3ae8 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(+) (limited to 'player/loadfile.c') diff --git a/player/loadfile.c b/player/loadfile.c index 9116a0c0df..13335db886 100644 --- a/player/loadfile.c +++ b/player/loadfile.c @@ -683,6 +683,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