summaryrefslogtreecommitdiff
path: root/src/lib/playlist.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-01-21 10:25:46 +0100
committerCarl Hetherington <cth@carlh.net>2025-01-21 10:25:46 +0100
commit81915d4db00c333da2debd2f8e9a0c02f7a316a3 (patch)
tree68062af342d2ef6c7a3b5aebbe7cb761bbab5372 /src/lib/playlist.cc
parent4c905330c2052cd77be09d9deb301f1fcf4b81f2 (diff)
Diffstat (limited to 'src/lib/playlist.cc')
-rw-r--r--src/lib/playlist.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/playlist.cc b/src/lib/playlist.cc
index a0d7d6531..f50285681 100644
--- a/src/lib/playlist.cc
+++ b/src/lib/playlist.cc
@@ -96,6 +96,7 @@ Playlist::content_change (weak_ptr<const Film> weak_film, ChangeType type, weak_
DCPOMATIC_ASSERT (film);
if (type == ChangeType::DONE) {
+ PeriodTimer timer("content_change#1 in Playlist");
if (
property == ContentProperty::TRIM_START ||
property == ContentProperty::TRIM_END ||
@@ -116,6 +117,7 @@ Playlist::content_change (weak_ptr<const Film> weak_film, ChangeType type, weak_
property == ContentProperty::TRIM_START ||
property == ContentProperty::TRIM_END) {
+
bool changed = false;
{
@@ -134,6 +136,8 @@ Playlist::content_change (weak_ptr<const Film> weak_film, ChangeType type, weak_
}
}
+
+ PeriodTimer timer("content_change#2 in Playlist");
ContentChange (type, content, property, frequent);
}