Fix movie length being wrong for imported binary tracks

This commit is contained in:
Ilari Liusvaara 2015-02-13 08:55:53 +02:00
parent 5f8f8af25f
commit 7ece85f0c6

View file

@ -128,6 +128,7 @@ void movie_branches::import_branch(const std::string& filename, const std::strin
vsize += (file.gcount() / stride); vsize += (file.gcount() / stride);
} }
v.resize(vsize); v.resize(vsize);
v.recount_frames();
} else { } else {
std::string line; std::string line;
portctrl::frame tmpl = v.blank_frame(false); portctrl::frame tmpl = v.blank_frame(false);