summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-08-15 22:33:24 +0200
committerwm4 <wm4@nowhere>2012-08-16 00:00:58 +0200
commit43bd4ab3a26c8034ea0bd05a2ae3a9a45c9d52da (patch)
tree76ea3db403276ff7319b22c081d743b58587cd67 /mplayer.c
parent0e7cf9518ae00e47f95762ead0c173fd6ac5f71d (diff)
downloadmpv-43bd4ab3a26c8034ea0bd05a2ae3a9a45c9d52da.tar.bz2
mpv-43bd4ab3a26c8034ea0bd05a2ae3a9a45c9d52da.tar.xz
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.
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c2
1 files changed, 1 insertions, 1 deletions
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);