Perform extradata garbage collection on save

This commit is contained in:
Niels Martin Hansen 2014-04-23 22:00:38 +02:00
parent 159dfcde39
commit cf81e91383
1 changed files with 2 additions and 0 deletions

View File

@ -270,6 +270,8 @@ void SubsController::Save(agi::fs::path const& filename, std::string const& enco
FileSave();
context->ass->CleanExtradata();
writer->WriteFile(context->ass.get(), filename, 0, encoding);
}
catch (...) {