diff options
author | wm4 <wm4@nowhere> | 2014-02-03 22:00:59 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-02-12 22:31:40 +0100 |
commit | 48112a74ed345940c8a8381b3df7f874b111b181 (patch) | |
tree | 0022b848fdf13446b11c3747cec4ebf8b6c7afb6 /player | |
parent | 8427cdc7177d99bc6f8bf5f90144e599a6634e86 (diff) | |
download | mpv-48112a74ed345940c8a8381b3df7f874b111b181.tar.bz2 mpv-48112a74ed345940c8a8381b3df7f874b111b181.tar.xz |
player: refresh OSD on track switching
Apparently, at least sub_reload was missing a refresh at all.
Diffstat (limited to 'player')
-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 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)); } |