0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00

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

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