Save the video's timecodes if external timecodes aren't loaded

Originally committed to SVN as r4813.
This commit is contained in:
Thomas Goyne 2010-10-16 20:11:37 +00:00
parent 67df3608be
commit f7f7699aed

View file

@ -544,7 +544,7 @@ void VideoContext::LoadTimecodes(wxString filename) {
}
void VideoContext::SaveTimecodes(wxString filename) {
try {
ovrFPS.Save(STD_STR(filename), IsLoaded() ? length : -1);
FPS().Save(STD_STR(filename), IsLoaded() ? length : -1);
config::mru->Add("Timecodes", STD_STR(filename));
}
catch(const agi::acs::AcsError&) {