From f292339808648b2323a742df724d1117ae8eaf78 Mon Sep 17 00:00:00 2001 From: Niels Martin Hansen Date: Wed, 4 Apr 2007 01:21:23 +0000 Subject: [PATCH] Dummy video provider was always creating 640x480 frames, now creates in the right resolution Originally committed to SVN as r994. --- aegisub/video_provider_dummy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aegisub/video_provider_dummy.cpp b/aegisub/video_provider_dummy.cpp index 9dd755dc8..3b9fecf27 100644 --- a/aegisub/video_provider_dummy.cpp +++ b/aegisub/video_provider_dummy.cpp @@ -59,7 +59,7 @@ void DummyVideoProvider::Create(double _fps, int frames, int _width, int _height width = _width; height = _height; - frame = AegiVideoFrame(640,480,FORMAT_RGB32); + frame = AegiVideoFrame(width,height,FORMAT_RGB32); unsigned char *dst = frame.data[0]; unsigned char r = colour.Red(), g = colour.Green(), b = colour.Blue(); for (int i=frame.pitch[0]*frame.h/frame.GetBpp();--i>=0;) {