summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-06-23 16:00:28 +0100
committerCarl Hetherington <cth@carlh.net>2014-06-23 16:00:28 +0100
commit5476e16fcdf6ade80e768c41373ba7e4c54e0cf5 (patch)
tree17888ca42347ffb8be3290a6d7412e7255c18bfd
parent4ed4255902c3710c94921b94613b5644276a4480 (diff)
Missing set of SubtitleAsset edit rate.0.95-branch
-rw-r--r--src/cpl.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cpl.cc b/src/cpl.cc
index 1ac0621b..6fc52be5 100644
--- a/src/cpl.cc
+++ b/src/cpl.cc
@@ -178,6 +178,7 @@ CPL::CPL (boost::filesystem::path directory, string file, list<PathAssetMap> ass
subtitle.reset (new SubtitleAsset (asset.first, asset.second->chunks.front()->path));
subtitle->set_entry_point ((*i)->asset_list->main_subtitle->entry_point);
+ subtitle->set_edit_rate (_fps);
subtitle->set_duration ((*i)->asset_list->main_subtitle->duration);
}