summaryrefslogtreecommitdiff
path: root/src/lib/content.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-01-31 23:47:14 +0100
committerCarl Hetherington <cth@carlh.net>2021-01-31 23:47:14 +0100
commite0255a64d22440d718e5512f34a4f21f0d37a21b (patch)
tree61927018d28794c7c32c238bc37259bfddb2f01c /src/lib/content.cc
parent8fedaaa75c4586a4cc7ffb393bd71d1fdb091dc8 (diff)
Use enum class for Film::Property.
Diffstat (limited to 'src/lib/content.cc')
-rw-r--r--src/lib/content.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/content.cc b/src/lib/content.cc
index 40790bdc0..0171563ae 100644
--- a/src/lib/content.cc
+++ b/src/lib/content.cc
@@ -229,7 +229,7 @@ Content::set_position (shared_ptr<const Film> film, DCPTime p, bool force_emit)
audio->modify_position (film, p);
}
- ChangeSignaller<Content> cc (this, ContentProperty::POSITION);
+ ContentChangeSignaller cc (this, ContentProperty::POSITION);
{
boost::mutex::scoped_lock lm (_mutex);
@@ -256,7 +256,7 @@ Content::set_trim_start (ContentTime t)
audio->modify_trim_start (t);
}
- ChangeSignaller<Content> cc (this, ContentProperty::TRIM_START);
+ ContentChangeSignaller cc (this, ContentProperty::TRIM_START);
{
boost::mutex::scoped_lock lm (_mutex);
@@ -267,7 +267,7 @@ Content::set_trim_start (ContentTime t)
void
Content::set_trim_end (ContentTime t)
{
- ChangeSignaller<Content> cc (this, ContentProperty::TRIM_END);
+ ContentChangeSignaller cc (this, ContentProperty::TRIM_END);
{
boost::mutex::scoped_lock lm (_mutex);
@@ -338,7 +338,7 @@ Content::paths_valid () const
void
Content::set_paths (vector<boost::filesystem::path> paths)
{
- ChangeSignaller<Content> cc (this, ContentProperty::PATH);
+ ContentChangeSignaller cc (this, ContentProperty::PATH);
{
boost::mutex::scoped_lock lm (_mutex);
@@ -389,7 +389,7 @@ Content::reel_split_points (shared_ptr<const Film>) const
void
Content::set_video_frame_rate (double r)
{
- ChangeSignaller<Content> cc (this, ContentProperty::VIDEO_FRAME_RATE);
+ ContentChangeSignaller cc (this, ContentProperty::VIDEO_FRAME_RATE);
{
boost::mutex::scoped_lock lm (_mutex);
@@ -408,7 +408,7 @@ Content::set_video_frame_rate (double r)
void
Content::unset_video_frame_rate ()
{
- ChangeSignaller<Content> cc (this, ContentProperty::VIDEO_FRAME_RATE);
+ ContentChangeSignaller cc (this, ContentProperty::VIDEO_FRAME_RATE);
{
boost::mutex::scoped_lock lm (_mutex);