More libdcp API tweaks.
[dcpomatic.git] / src / lib / film.cc
index 50472bf41f3f78a37f0472066d5dc956f1c3cde7..c57fc165cf9a1b72db957cccd2ac8ef4dff8092f 100644 (file)
@@ -1667,7 +1667,7 @@ Film::make_kdm (
        map<shared_ptr<const dcp::ReelFileAsset>, dcp::Key> keys;
 
        for (auto i: cpl->reel_file_assets()) {
-               if (!i->key_id()) {
+               if (!i->encrypted()) {
                        continue;
                }