diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-08-17 01:39:45 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-08-17 01:39:45 +0100 |
| commit | 28ab65a9d625e03753cd40e22d9f991d59460a16 (patch) | |
| tree | 0e069ed40bb9b2c53edf45dcd10b05d1719e9519 /src/interop_subtitle_asset.h | |
| parent | 5eb0ff8f094517ab6d82751288a69c8fcea74eb1 (diff) | |
Use PKL types rather than file extensions.
Diffstat (limited to 'src/interop_subtitle_asset.h')
| -rw-r--r-- | src/interop_subtitle_asset.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/interop_subtitle_asset.h b/src/interop_subtitle_asset.h index 72cd0022..703229a7 100644 --- a/src/interop_subtitle_asset.h +++ b/src/interop_subtitle_asset.h @@ -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;asdcpKind=Subtitle"; + std::string pkl_type (Standard s) const { + return static_pkl_type (s); } private: |
