/** @return the PictureAsset that this object refers to */
boost::shared_ptr<const PictureAsset> asset () const {
- return boost::dynamic_pointer_cast<const PictureAsset> (_asset_ref.asset ());
+ return asset_of_type<const PictureAsset> ();
}
/** @return the PictureAsset that this object refers to */
boost::shared_ptr<PictureAsset> asset () {
- return boost::dynamic_pointer_cast<PictureAsset> (_asset_ref.asset ());
+ return asset_of_type<PictureAsset> ();
}
/** @return picture frame rate */