From 5dbd022f3abb0ebab57fb67073a07ed60df902a6 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 20 Aug 2018 23:01:14 +0100 Subject: Make ContentChange into a generic ChangeSignaller and use it for Film changes, since we setup_pieces() in response to at least one of these and hence we must know before it happens so we can suspend the butler and player. --- src/lib/video_content.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/lib/video_content.cc') diff --git a/src/lib/video_content.cc b/src/lib/video_content.cc index 81f4138fb..8cb305463 100644 --- a/src/lib/video_content.cc +++ b/src/lib/video_content.cc @@ -234,9 +234,9 @@ VideoContent::take_from_examiner (shared_ptr d) optional const ar = d->sample_aspect_ratio (); bool const yuv = d->yuv (); - ContentChange cc1 (_parent, VideoContentProperty::SIZE); - ContentChange cc2 (_parent, VideoContentProperty::SCALE); - ContentChange cc3 (_parent, ContentProperty::LENGTH); + ChangeSignaller cc1 (_parent, VideoContentProperty::SIZE); + ChangeSignaller cc2 (_parent, VideoContentProperty::SCALE); + ChangeSignaller cc3 (_parent, ContentProperty::LENGTH); { boost::mutex::scoped_lock lm (_mutex); -- cgit v1.2.3