diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-07-08 22:40:13 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-07-08 22:40:13 +0100 |
| commit | 93241a630cddd69c3d10b7a6223303170253014a (patch) | |
| tree | a2ad08722452afacaee1c3353687f1e5e9f9ab07 /src/reel_asset.h | |
| parent | 46a11714d3a2c551785c77d19e5285478b428364 (diff) | |
Add some accessors.
Diffstat (limited to 'src/reel_asset.h')
| -rw-r--r-- | src/reel_asset.h | 4 |
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. */ |
