summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/dcp.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/dcp.h b/src/dcp.h
index 8c13c505..900a5665 100644
--- a/src/dcp.h
+++ b/src/dcp.h
@@ -90,6 +90,22 @@ public:
*/
void write_xml () const;
+ std::string name () const {
+ return _name;
+ }
+
+ ContentKind content_kind () const {
+ return _content_kind;
+ }
+
+ int frames_per_second () const {
+ return _fps;
+ }
+
+ int length () const {
+ return _length;
+ }
+
/** Emitted with a parameter between 0 and 1 to indicate progress
* for long jobs.
*/