Removed unnecessary code (videostab)

This commit is contained in:
Alexey Spizhevoy
2012-04-17 09:30:16 +00:00
parent dfedaff99b
commit 4c44ccc3c9
2 changed files with 0 additions and 13 deletions

View File

@@ -317,16 +317,6 @@ Mat TwoPassStabilizer::nextFrame()
}
vector<Mat> TwoPassStabilizer::motions() const
{
if (frameCount_ == 0)
return vector<Mat>();
vector<Mat> res(frameCount_ - 1);
copy(motions_.begin(), motions_.begin() + frameCount_ - 1, res.begin());
return res;
}
void TwoPassStabilizer::runPrePassIfNecessary()
{
if (!isPrePassDone_)