diff options
author | wm4 <wm4@nowhere> | 2014-02-03 22:00:59 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-02-03 22:01:09 +0100 |
commit | 208c54a710e5e5d823c9b046a2bf0159060e3ae8 (patch) | |
tree | cc612fabd70aa5f76426fba18d360b3009799bef /player/loadfile.c | |
parent | b270f5e17733d6f49a77a1b7a9122676d25981b2 (diff) | |
download | mpv-208c54a710e5e5d823c9b046a2bf0159060e3ae8.tar.bz2 mpv-208c54a710e5e5d823c9b046a2bf0159060e3ae8.tar.xz |
player: refresh OSD on track switching
Apparently, at least sub_reload was missing a refresh at all.
Diffstat (limited to 'player/loadfile.c')
-rw-r--r-- | player/loadfile.c | 2 |
1 files changed, 2 insertions, 0 deletions
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)); } |