Fix a really dumb bug in the caching video provider that caused crashes when seeking in the video.

Originally committed to SVN as r2704.
This commit is contained in:
Karl Blomster 2009-01-24 23:00:35 +00:00
parent 8ac8982870
commit fe2ec42a45
1 changed files with 2 additions and 2 deletions

View File

@ -129,8 +129,8 @@ void VideoProviderCache::Cache(int n,const AegiVideoFrame frame) {
}
// Cache
cache.front().n = n;
cache.front().frame.CopyFrom(frame);
cache.back().n = n;
cache.back().frame.CopyFrom(frame);
}