summaryrefslogtreecommitdiff
path: root/src/lib/butler.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-08-04 23:55:17 +0200
committerCarl Hetherington <cth@carlh.net>2022-08-04 23:55:17 +0200
commit7bd8eecb8ba8535978d58408dc73ce7528034c7e (patch)
treee3019a153415a6becde846fcb6a68f0674341bc1 /src/lib/butler.h
parentd6aeaf8dd1b3158689da7b75c7417c1838af9c95 (diff)
wip: got stuck... because PlayerVideo is related to the render sizeadjust-sizing
because its subtitles are prepared for the _video_container_size that the Player knows about. I think the only way around this would be to store the subs in PlayerVideo in some independent way and to scale/convert to bitmap later.
Diffstat (limited to 'src/lib/butler.h')
-rw-r--r--src/lib/butler.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/butler.h b/src/lib/butler.h
index 87408646b..711c91000 100644
--- a/src/lib/butler.h
+++ b/src/lib/butler.h
@@ -50,6 +50,8 @@ public:
AudioMapping map,
int audio_channels,
std::function<AVPixelFormat (AVPixelFormat)> pixel_format,
+ dcp::Size display_container,
+ dcp::Size film_container,
VideoRange video_range,
Image::Alignment alignment,
bool fast,
@@ -130,6 +132,8 @@ private:
bool _disable_audio;
std::function<AVPixelFormat (AVPixelFormat)> _pixel_format;
+ dcp::Size _display_container;
+ dcp::Size _film_container;
VideoRange _video_range;
Image::Alignment _alignment;
bool _fast;