summaryrefslogtreecommitdiff
path: root/src/lib/video_content.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-08-20 23:01:14 +0100
committerCarl Hetherington <cth@carlh.net>2018-08-20 23:29:21 +0100
commit5dbd022f3abb0ebab57fb67073a07ed60df902a6 (patch)
tree25aaae8dcf0268d12e2cdc7e8b99ceb534aed55a /src/lib/video_content.cc
parent0284a5328af3fb41d83d86b8a3b8fffd6d69ddc5 (diff)
Make ContentChange into a generic ChangeSignaller and use it for Filmv2.13.44
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.
Diffstat (limited to 'src/lib/video_content.cc')
-rw-r--r--src/lib/video_content.cc6
1 files changed, 3 insertions, 3 deletions
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<VideoExaminer> d)
optional<double> 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<Content> cc1 (_parent, VideoContentProperty::SIZE);
+ ChangeSignaller<Content> cc2 (_parent, VideoContentProperty::SCALE);
+ ChangeSignaller<Content> cc3 (_parent, ContentProperty::LENGTH);
{
boost::mutex::scoped_lock lm (_mutex);