summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-01-17 22:21:29 +0100
committerCarl Hetherington <cth@carlh.net>2021-01-17 22:21:29 +0100
commitc421a8c20a489eccd36c2646bf795dc2bbe35882 (patch)
tree37169daaeb666ca4568950763105d647f6674556 /src
parent27e4c9a264df4572b1095b3610e2a9c1980c0c2b (diff)
Add CPL::set_content_kind.
Diffstat (limited to 'src')
-rw-r--r--src/cpl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cpl.h b/src/cpl.h
index 158d100f..06b59bd8 100644
--- 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.)
*/