Consider assets outside the DCP as referenced assets (i.e.
[libdcp.git] / src / reel_asset.h
index 371a8f3ea8c1bcd2f621af44acc86d257247cf79..a1ad3cb12298e875e9414a7770504a3bfaf8f8a8 100644 (file)
@@ -46,7 +46,7 @@ class Asset;
  *
  *  This class encapsulates the XML that exists in a <Reel> to say
  *  that a piece of content is used in this reel.  It does not
- *  describe the content itself (but links to a Content object which does).
+ *  describe the content itself (but links to an Asset object which does).
  */
 class ReelAsset : public Object
 {
@@ -68,6 +68,10 @@ public:
                return _asset_ref;
        }
 
+       int64_t intrinsic_duration () const {
+               return _intrinsic_duration;
+       }
+
        int64_t entry_point () const {
                return _entry_point;
        }