summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-04-09 23:49:07 +0200
committerCarl Hetherington <cth@carlh.net>2021-04-09 23:49:07 +0200
commit4bf244a0823e7ae59071f1566495b4210166d4a5 (patch)
tree6da1661a1d802869ebc43e778d3357701325ba81 /src
parent45525875fef67ec1885968c0c5692307b16a279b (diff)
Add accessor for intrinsic_duration in SMPTESubtitleAsset.
Diffstat (limited to 'src')
-rw-r--r--src/smpte_subtitle_asset.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/smpte_subtitle_asset.h b/src/smpte_subtitle_asset.h
index 19e22e0c..83abdfbf 100644
--- a/src/smpte_subtitle_asset.h
+++ b/src/smpte_subtitle_asset.h
@@ -124,6 +124,10 @@ public:
_intrinsic_duration = d;
}
+ int64_t intrinsic_duration () const {
+ return _intrinsic_duration;
+ }
+
/** @return title of the film that these subtitles are for,
* to be presented to the user
*/