summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-10-02 20:39:26 +0200
committerwm4 <wm4@nowhere>2013-10-02 20:39:26 +0200
commit4da7630824d8cf0cfcc2471f45d013ff2866131d (patch)
tree0f144dc354015f6d78b5cfc6249c490d16adfbc3
parentd24bf6e3496c48ec42be0e54f8aacd5a5c43e093 (diff)
downloadmpv-4da7630824d8cf0cfcc2471f45d013ff2866131d.tar.bz2
mpv-4da7630824d8cf0cfcc2471f45d013ff2866131d.tar.xz
mplayer: osd bar depends on VO, not video decoding
The OSD bar wasn't displayed, and instead a fallback message was shown.
-rw-r--r--mpvcore/mplayer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpvcore/mplayer.c b/mpvcore/mplayer.c
index ee6ac69426..85deafb382 100644
--- a/mpvcore/mplayer.c
+++ b/mpvcore/mplayer.c
@@ -1390,7 +1390,7 @@ void set_osd_bar(struct MPContext *mpctx, int type, const char *name,
if (opts->osd_level < 1 || !opts->osd_bar_visible)
return;
- if (mpctx->sh_video && opts->term_osd != 1) {
+ if (mpctx->video_out && opts->term_osd != 1) {
mpctx->osd_visible = mp_time_sec() + opts->osd_duration / 1000.0;
mpctx->osd->progbar_type = type;
mpctx->osd->progbar_value = (val - min) / (max - min);