player: refresh OSD on track switching

Apparently, at least sub_reload was missing a refresh at all.
This commit is contained in:
wm4 2014-02-03 22:00:59 +01:00
parent b270f5e177
commit 208c54a710
1 changed files with 2 additions and 0 deletions

View File

@ -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); talloc_free(mpctx->track_layout_hash);
mpctx->track_layout_hash = talloc_steal(mpctx, track_layout_hash(mpctx)); mpctx->track_layout_hash = talloc_steal(mpctx, track_layout_hash(mpctx));
} }