From 7bd8eecb8ba8535978d58408dc73ce7528034c7e Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 4 Aug 2022 23:55:17 +0200 Subject: wip: got stuck... because PlayerVideo is related to the render size 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. --- src/lib/video_ring_buffers.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/video_ring_buffers.h') diff --git a/src/lib/video_ring_buffers.h b/src/lib/video_ring_buffers.h index 47fda01f7..df06122d0 100644 --- a/src/lib/video_ring_buffers.h +++ b/src/lib/video_ring_buffers.h @@ -45,7 +45,7 @@ public: Frame size () const; bool empty () const; - void reset_metadata (std::shared_ptr film, dcp::Size player_video_container_size); + void reset_metadata(std::shared_ptr film); std::pair memory_used () const; -- cgit v1.2.3