Add CPL::set_content_kind.
authorCarl Hetherington <cth@carlh.net>
Sun, 17 Jan 2021 21:21:29 +0000 (22:21 +0100)
committerCarl Hetherington <cth@carlh.net>
Sun, 17 Jan 2021 21:21:29 +0000 (22:21 +0100)
src/cpl.h

index 158d100f7ba7cb222da2f9bdc7effd93365972e5..06b59bd89b27dbb42785d9f1c3e4eebd635e3a8f 100644 (file)
--- a/src/cpl.h
+++ b/src/cpl.h
@@ -135,6 +135,10 @@ public:
                _content_title_text = ct;
        }
 
+       void set_content_kind (dcp::ContentKind k) {
+               _content_kind = k;
+       }
+
        /** @return the type of the content, used by media servers
         *  to categorise things (e.g. feature, trailer, etc.)
         */