Perform extradata garbage collection on save
This commit is contained in:
parent
159dfcde39
commit
cf81e91383
1 changed files with 2 additions and 0 deletions
|
@ -270,6 +270,8 @@ void SubsController::Save(agi::fs::path const& filename, std::string const& enco
|
||||||
|
|
||||||
FileSave();
|
FileSave();
|
||||||
|
|
||||||
|
context->ass->CleanExtradata();
|
||||||
|
|
||||||
writer->WriteFile(context->ass.get(), filename, 0, encoding);
|
writer->WriteFile(context->ass.get(), filename, 0, encoding);
|
||||||
}
|
}
|
||||||
catch (...) {
|
catch (...) {
|
||||||
|
|
Loading…
Reference in a new issue