forked from mia/Aegisub
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:
parent
491fa10ff1
commit
e589bceaa6
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ const AegiVideoFrame VideoProviderCache::GetFrame(int n,int format) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Not cached, retrieve it
|
// Not cached, retrieve it
|
||||||
const AegiVideoFrame frame = master->GetFrame(n,FORMAT_RGB32);
|
const AegiVideoFrame frame = master->GetFrame(n, format);
|
||||||
const AegiVideoFrame *srcFrame = &frame;
|
const AegiVideoFrame *srcFrame = &frame;
|
||||||
|
|
||||||
// Convert to compatible format
|
// Convert to compatible format
|
||||||
|
|
Loading…
Reference in a new issue