diff options
author | wm4 <wm4@nowhere> | 2012-10-24 01:21:06 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2012-10-24 21:56:35 +0200 |
commit | bcf447d7e82af814ccc07c852543be38e58d69c8 (patch) | |
tree | 4bf6613104cff3f53cd36d7cb83a19761f0b1b2d | |
parent | 10295b080dd3f3e4ffe947a15c8a327446ce8276 (diff) | |
download | mpv-bcf447d7e82af814ccc07c852543be38e58d69c8.tar.bz2 mpv-bcf447d7e82af814ccc07c852543be38e58d69c8.tar.xz |
vo_lavc: never draw OSD
This guarantees that only subtitles are drawn. (Before this change, we
relied on the fact that OSD is only visible on user interaction, or if
explicitly request with --osd-level.)
-rw-r--r-- | libvo/vo_lavc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/vo_lavc.c b/libvo/vo_lavc.c index 5c90207256..6c9a3906d0 100644 --- a/libvo/vo_lavc.c +++ b/libvo/vo_lavc.c @@ -501,7 +501,7 @@ static void draw_osd(struct vo *vo, struct osd_state *osd) .video_par = dar / sar, }; - osd_draw_on_image(osd, dim, osd->vo_pts, 0, vc->lastimg, + osd_draw_on_image(osd, dim, osd->vo_pts, OSD_DRAW_SUB_ONLY, vc->lastimg, &vc->colorspace); } } |