From e589bceaa680710d64316863f5652946e80371a6 Mon Sep 17 00:00:00 2001 From: Karl Blomster Date: Thu, 16 Jul 2009 18:50:16 +0000 Subject: [PATCH] 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. --- aegisub/src/video_provider_cache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aegisub/src/video_provider_cache.cpp b/aegisub/src/video_provider_cache.cpp index 35495c537..ca6ed778a 100644 --- a/aegisub/src/video_provider_cache.cpp +++ b/aegisub/src/video_provider_cache.cpp @@ -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