summaryrefslogtreecommitdiff
path: root/src/lib/video_ring_buffers.cc
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/video_ring_buffers.cc
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/video_ring_buffers.cc')
-rw-r--r--src/lib/video_ring_buffers.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/video_ring_buffers.cc b/src/lib/video_ring_buffers.cc
index 63c52ee06..f44dc9c7a 100644
--- a/src/lib/video_ring_buffers.cc
+++ b/src/lib/video_ring_buffers.cc
@@ -94,11 +94,11 @@ VideoRingBuffers::memory_used () const
void
-VideoRingBuffers::reset_metadata (shared_ptr<const Film> film, dcp::Size player_video_container_size)
+VideoRingBuffers::reset_metadata (shared_ptr<const Film> film)
{
boost::mutex::scoped_lock lm (_mutex);
for (auto const& i: _data) {
- i.first->reset_metadata (film, player_video_container_size);
+ i.first->reset_metadata(film);
}
}