diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-11-15 20:47:42 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-11-16 01:40:36 +0100 |
| commit | b057363e69b77119137c0c8b07402828096e03aa (patch) | |
| tree | 3389d557c0cd8626fd574e51cadd5b17ef8b63f8 /src/lib/butler.h | |
| parent | c241da6c6db16ed5d73b2f349d69006cba12cf3f (diff) | |
Make sure we use limited ("video") range data when exporting.
Our export formats all currently use limited range but we weren't
making sure data fed to the encoders was limited range.
Should fix #1832.
Diffstat (limited to 'src/lib/butler.h')
| -rw-r--r-- | src/lib/butler.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/butler.h b/src/lib/butler.h index e13843c90..6b933be4b 100644 --- a/src/lib/butler.h +++ b/src/lib/butler.h @@ -41,6 +41,7 @@ public: AudioMapping map, int audio_channels, boost::function<AVPixelFormat (AVPixelFormat)> pixel_format, + VideoRange video_range, bool aligned, bool fast ); @@ -115,6 +116,7 @@ private: bool _disable_audio; boost::function<AVPixelFormat (AVPixelFormat)> _pixel_format; + VideoRange _video_range; bool _aligned; bool _fast; |
