From bcf447d7e82af814ccc07c852543be38e58d69c8 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 24 Oct 2012 01:21:06 +0200 Subject: 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.) --- libvo/vo_lavc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } } -- cgit v1.2.3