The caching video provider should not force RGB32. Nobody really cared about this because Aegisub always uses RGB32 unless you flip secret switches and whatnot, but it's not right and other colorspaces may be used in the future.

Originally committed to SVN as r3147.
This commit is contained in:
Karl Blomster 2009-07-16 18:50:16 +00:00
parent 491fa10ff1
commit e589bceaa6

View file

@ -74,7 +74,7 @@ const AegiVideoFrame VideoProviderCache::GetFrame(int n,int format) {
}
// Not cached, retrieve it
const AegiVideoFrame frame = master->GetFrame(n,FORMAT_RGB32);
const AegiVideoFrame frame = master->GetFrame(n, format);
const AegiVideoFrame *srcFrame = &frame;
// Convert to compatible format