From 8c43e12b20a52dc61b53bc3eec779aa07b8c8220 Mon Sep 17 00:00:00 2001 From: Niklas Haas Date: Mon, 23 Mar 2015 02:42:19 +0100 Subject: vo_opengl: draw subtitles directly onto the video This has a number of user-visible changes: 1. A new flag blend-subtitles (default on for opengl-hq) to control this behavior. 2. The OSD itself will not be color managed or affected by gamma controls. To get subtitle CMS/gamma, blend-subtitles must be used. 3. When enabled, this will make subtitles be cleanly interpolated by :interpolation, and also dithered etc. (just like the normal output). Signed-off-by: wm4 --- DOCS/man/vo.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'DOCS/man') diff --git a/DOCS/man/vo.rst b/DOCS/man/vo.rst index 7cc0adac31..568c1571d0 100644 --- a/DOCS/man/vo.rst +++ b/DOCS/man/vo.rst @@ -652,6 +652,17 @@ Available video output drivers are: Default is 128x256x64. Sizes must be a power of two, and 512 at most. + ``blend-subtitles`` + Blend subtitles directly onto upscaled video frames, before + interpolation and/or color management (default: no). Enabling this + causes subtitles to be affected by ``icc-profile``, ``target-prim``, + ``target-trc``, ``interpolation``, ``gamma`` and ``linear-scaling``. + It also increases subtitle performance when using ``interpolation``. + + The downside of enabling this is that it restricts subtitles to the + visible portion of the video, so you can't have subtitles exist in the + black margins below a video (for example). + ``alpha=`` Decides what to do if the input has an alpha component (default: blend). -- cgit v1.2.3