From 93feffad15fe68dc97278df9e6726135e31b6474 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 19 Sep 2013 16:55:56 +0200 Subject: vo_opengl: blend alpha components by default Improves display of images and video with alpha channel, especially if the transparent regions contain (supposed to be invisible) garbage color values. --- DOCS/man/en/vo.rst | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) (limited to 'DOCS') diff --git a/DOCS/man/en/vo.rst b/DOCS/man/en/vo.rst index 6b6d503219..c57f25f125 100644 --- a/DOCS/man/en/vo.rst +++ b/DOCS/man/en/vo.rst @@ -454,13 +454,20 @@ Available video output drivers are: Default is 128x256x64. Sizes must be a power of two, and 256 at most. - ``alpha`` - Try to create a framebuffer with alpha component. This only makes sense - if the video contains alpha information (which is extremely rare). May - not be supported on all platforms. If alpha framebuffers are - unavailable, it silently falls back on a normal framebuffer. Note - that when using FBO indirections (such as with ``opengl-hq``), an FBO - format with alpha must be specified with the ``fbo-format`` option. + ``alpha=`` + Decides what to do if the input has an alpha component (default: blend). + + blend + Blend the frame against a black background. + yes + Try to create a framebuffer with alpha component. This only makes sense + if the video contains alpha information (which is extremely rare). May + not be supported on all platforms. If alpha framebuffers are + unavailable, it silently falls back on a normal framebuffer. Note + that when using FBO indirections (such as with ``opengl-hq``), an FBO + format with alpha must be specified with the ``fbo-format`` option. + no + Ignore alpha component. ``chroma-location=`` Set the YUV chroma sample location. auto means use the bitstream -- cgit v1.2.3