summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-07-31 00:15:14 +0100
committerCarl Hetherington <cth@carlh.net>2012-07-31 00:15:14 +0100
commitb3ae1623ed44ade680236b4af283543083bceea3 (patch)
tree355c832b0517932f5db0f98a6b77746bfd692f45 /src
parentd8c9cbec9d87f28da338350880b7618b94f4da81 (diff)
Basic test.
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.
*/