Adapt for libdcp use of enum class.
[dcpomatic.git] / src / lib / spl_entry.cc
index 083ce0296e7e379abba817654872668c0e298d98..440f9861b882f56e5b0edeebcd6ec43aadc4361c 100644 (file)
@@ -44,11 +44,11 @@ SPLEntry::construct (shared_ptr<Content> c)
                name = dcp->name ();
                DCPOMATIC_ASSERT (dcp->cpl());
                id = *dcp->cpl();
-               kind = dcp->content_kind().get_value_or(dcp::FEATURE);
+               kind = dcp->content_kind().get_value_or(dcp::ContentKind::FEATURE);
                encrypted = dcp->encrypted ();
        } else {
                name = content->path(0).filename().string();
-               kind = dcp::FEATURE;
+               kind = dcp::ContentKind::FEATURE;
        }
 }