From 4da7630824d8cf0cfcc2471f45d013ff2866131d Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 2 Oct 2013 20:39:26 +0200 Subject: mplayer: osd bar depends on VO, not video decoding The OSD bar wasn't displayed, and instead a fallback message was shown. --- mpvcore/mplayer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3