From 7245e46453a82886739a45bd78fcdf9e8401367c Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 11 Sep 2021 18:52:05 +0200 Subject: When the player is used in OpenGL mode, pass unscaled XYZ data through to the shader and do colourspace conversion there. --- src/lib/player_video.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/lib/player_video.h') diff --git a/src/lib/player_video.h b/src/lib/player_video.h index f29684832..8134c8d4e 100644 --- a/src/lib/player_video.h +++ b/src/lib/player_video.h @@ -71,8 +71,9 @@ public: void set_text (PositionImage); - void prepare (std::function pixel_format, VideoRange video_range, bool aligned, bool fast); + void prepare (std::function pixel_format, VideoRange video_range, bool aligned, bool fast, bool proxy_only); std::shared_ptr image (std::function pixel_format, VideoRange video_range, bool aligned, bool fast) const; + std::shared_ptr raw_image () const; static AVPixelFormat force (AVPixelFormat, AVPixelFormat); static AVPixelFormat keep_xyz_or_rgb (AVPixelFormat); -- cgit v1.2.3