diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/reel_asset.h | 4 | ||||
| -rw-r--r-- | src/reel_picture_asset.h | 4 |
2 files changed, 8 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. */ diff --git a/src/reel_picture_asset.h b/src/reel_picture_asset.h index 547f3ada..31b370c6 100644 --- a/src/reel_picture_asset.h +++ b/src/reel_picture_asset.h @@ -45,6 +45,10 @@ public: return boost::dynamic_pointer_cast<PictureMXF> (_content.object ()); } + Fraction frame_rate () const { + return _frame_rate; + } + void set_screen_aspect_ratio (Fraction a) { _screen_aspect_ratio = a; } |
