Use PKL types rather than file extensions.
[libdcp.git] / src / interop_subtitle_asset.h
index 8c71154292e32e2848c8279505d226ca37f9c86b..703229a77cb788e243cfb73b9a58c2db348b151f 100644 (file)
@@ -105,10 +105,14 @@ public:
                return _movie_title;
        }
 
+       static std::string static_pkl_type (Standard) {
+               return "text/xml;asdcpKind=Subtitle";
+       }
+
 protected:
 
-       std::string pkl_type (Standard) const {
-               return "text/xml";
+       std::string pkl_type (Standard s) const {
+               return static_pkl_type (s);
        }
 
 private: