summaryrefslogtreecommitdiff
path: root/src/interop_subtitle_asset.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-01-12 17:47:23 +0100
committerCarl Hetherington <cth@carlh.net>2021-01-17 20:13:23 +0100
commitdde186a4c30f066c4bea7bb120ceb130f83faf90 (patch)
tree51ec9aec1d9885c8ef17ec241d1e506ce2a632a0 /src/interop_subtitle_asset.h
parent9df315a026b7c30ee416a090c583e01f65b86d03 (diff)
Bv2.1 7.2.{4,5}: check that subtitles are not too short, too close or
too early in the first reel.
Diffstat (limited to 'src/interop_subtitle_asset.h')
-rw-r--r--src/interop_subtitle_asset.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/interop_subtitle_asset.h b/src/interop_subtitle_asset.h
index 87e82633..41e04f97 100644
--- a/src/interop_subtitle_asset.h
+++ b/src/interop_subtitle_asset.h
@@ -109,6 +109,11 @@ public:
return _movie_title;
}
+ int time_code_rate () const {
+ /* Interop can use either; just pick one */
+ return 1000;
+ }
+
static std::string static_pkl_type (Standard) {
return "text/xml;asdcpKind=Subtitle";
}