mirror of https://github.com/mpv-player/mpv
player: refresh OSD on track switching
Apparently, at least sub_reload was missing a refresh at all.
This commit is contained in:
parent
b270f5e177
commit
208c54a710
|
@ -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));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue