From 16e8ecb0313f9aa7ef17ec8cb2b19ce9937a6bf6 Mon Sep 17 00:00:00 2001 From: igv Date: Sun, 19 Mar 2017 16:13:51 +0200 Subject: vo_opengl: replace uniform variable image_size with input_size input_size can be the size of a cropped image Signed-off-by: wm4 --- DOCS/interface-changes.rst | 2 ++ DOCS/man/options.rst | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'DOCS') diff --git a/DOCS/interface-changes.rst b/DOCS/interface-changes.rst index 911f6f8717..7bb6237042 100644 --- a/DOCS/interface-changes.rst +++ b/DOCS/interface-changes.rst @@ -26,6 +26,8 @@ Interface changes --vo-image-format options - the "jpeg" choice in the option above now leads to a ".jpg" file extension - --af=drc is gone (you can use e.g. lavfi/acompressor instead) + - remove image_size predefined uniform from OpenGL user shaders. Use + input_size instead --- mpv 0.24.0 --- - deprecate --hwdec-api and replace it with --opengl-hwdec-interop. The new option accepts both --hwdec values, as well as named backends. diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index bdcf708557..96044760a1 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -4199,8 +4199,8 @@ The following video options are currently all specific to ``--vo=opengl`` and int frame A simple count of frames rendered, increases by one per frame and never resets (regardless of seeks). - vec2 image_size - The size in pixels of the input image. + vec2 input_size + The size in pixels of the input image (possibly cropped and prescaled). vec2 target_size The size in pixels of the visible part of the scaled (and possibly cropped) image. -- cgit v1.2.3