msrle32/tests: Add uncompressed video tests using MRLE as codec (try 2)

Nikolay Sivov bunglehead at gmail.com
Sun Oct 18 11:57:58 CDT 2015


On 18.10.2015 19:47, Bruno Jesus wrote:
> Signed-off-by: Bruno Jesus <00cpxxx at gmail.com>
>
> try 2:
> Create the required video file on runtime, I squeezed the avi file as
> much as I could to make it still functional.

I don't think blob in sources is better. Clean way is to have a separate 
avi file, compile it as resource, and create temporary file from 
resource. That's how it's already done in qedit/tests, and in 
gdi32/dwrite for font files. And of course ideally it should be as small 
as possible, that has improved significantly from try1 (~450 bytes vs 20K).

>
> original:
> While studying bug https://bugs.winehq.org/show_bug.cgi?id=33022 I
> noticed that the game mouse cursors are stored in an uncompressed AVI
> file, wine currently is not able to process such videos as ICLocate
> will fail without finding a valid codec.
>
> Windows always returns the MRLE codec in such cases so this test opens
> an uncompressed video and use explicitly MRLE to check if it is able
> to decompress the video and it does.
>
>
>
>




More information about the wine-devel mailing list