Missing set of SubtitleAsset edit rate. 0.95-branch
authorCarl Hetherington <cth@carlh.net>
Mon, 23 Jun 2014 15:00:28 +0000 (16:00 +0100)
committerCarl Hetherington <cth@carlh.net>
Mon, 23 Jun 2014 15:00:28 +0000 (16:00 +0100)
src/cpl.cc

index 1ac0621b470ccbf772bdb5f6b3bb1ff011187111..6fc52be536d4499ec372f56c806c7e63ee43eb30 100644 (file)
@@ -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);
                }