summaryrefslogtreecommitdiff
path: root/src/lib/spl.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-06-21 11:57:24 +0200
committerCarl Hetherington <cth@carlh.net>2025-07-10 23:13:14 +0200
commit9db2168dcc14a803dcd9da047ddd70e2142d82e2 (patch)
tree452103b2ed3a65cbaf9f3b4bb731c2afdbd809f7 /src/lib/spl.cc
parentd1c151cfdedbf1946d30e9072dc4a5b2ea5f2f80 (diff)
Allow specification of player crop in playlist.
Diffstat (limited to 'src/lib/spl.cc')
-rw-r--r--src/lib/spl.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/spl.cc b/src/lib/spl.cc
index ff37e5cbf..652efe5b8 100644
--- a/src/lib/spl.cc
+++ b/src/lib/spl.cc
@@ -47,13 +47,13 @@ SPL::read (boost::filesystem::path path, ContentStore* store)
for (auto i: doc.node_children("Entry")) {
if (auto cpl = i->optional_string_child("CPL")) {
if (auto c = store->get_by_cpl_id(*cpl)) {
- add(SPLEntry(c));
+ add(SPLEntry(c, i));
} else {
_missing = true;
}
} else {
if (auto c = store->get_by_digest(i->string_child("Digest"))) {
- add(SPLEntry(c));
+ add(SPLEntry(c, i));
} else {
_missing = true;
}