summaryrefslogtreecommitdiff
path: root/src/reel_asset.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-07-08 22:40:13 +0100
committerCarl Hetherington <cth@carlh.net>2014-07-08 22:40:13 +0100
commit93241a630cddd69c3d10b7a6223303170253014a (patch)
treea2ad08722452afacaee1c3353687f1e5e9f9ab07 /src/reel_asset.h
parent46a11714d3a2c551785c77d19e5285478b428364 (diff)
Add some accessors.
Diffstat (limited to 'src/reel_asset.h')
-rw-r--r--src/reel_asset.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/reel_asset.h b/src/reel_asset.h
index 828981ef..e6e0fff5 100644
--- a/src/reel_asset.h
+++ b/src/reel_asset.h
@@ -74,6 +74,10 @@ public:
return !_key_id.empty ();
}
+ int64_t duration () const {
+ return _duration;
+ }
+
/** @return Key ID to describe the key that encrypts this asset's;
* content.
*/