From 43bd4ab3a26c8034ea0bd05a2ae3a9a45c9d52da Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 15 Aug 2012 22:33:24 +0200 Subject: vf_expand: remove OSD support It's not clear why this video filter supported OSD rendering. The manpage says: "Can be used for placing subtitles/OSD in the resulting black bands." But every single VO already does this if vf_expand adds black borders. This feature is 100% pointless. --- mplayer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mplayer.c') diff --git a/mplayer.c b/mplayer.c index f99b645494..306ca3d1da 100644 --- a/mplayer.c +++ b/mplayer.c @@ -2443,7 +2443,7 @@ static double update_video(struct MPContext *mpctx) struct sh_video *sh_video = mpctx->sh_video; struct vo *video_out = mpctx->video_out; sh_video->vfilter->control(sh_video->vfilter, VFCTRL_SET_OSD_OBJ, - mpctx->osd); // hack for vf_expand + mpctx->osd); // for vf_ass if (!mpctx->opts.correct_pts) return update_video_nocorrect_pts(mpctx); -- cgit v1.2.3