mirror of https://github.com/odrling/Aegisub
Save the video's timecodes if external timecodes aren't loaded
Originally committed to SVN as r4813.
This commit is contained in:
parent
67df3608be
commit
f7f7699aed
|
@ -544,7 +544,7 @@ void VideoContext::LoadTimecodes(wxString filename) {
|
||||||
}
|
}
|
||||||
void VideoContext::SaveTimecodes(wxString filename) {
|
void VideoContext::SaveTimecodes(wxString filename) {
|
||||||
try {
|
try {
|
||||||
ovrFPS.Save(STD_STR(filename), IsLoaded() ? length : -1);
|
FPS().Save(STD_STR(filename), IsLoaded() ? length : -1);
|
||||||
config::mru->Add("Timecodes", STD_STR(filename));
|
config::mru->Add("Timecodes", STD_STR(filename));
|
||||||
}
|
}
|
||||||
catch(const agi::acs::AcsError&) {
|
catch(const agi::acs::AcsError&) {
|
||||||
|
|
Loading…
Reference in New Issue