Commit 1ed45a74 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

msrle32: Use the same default quality as native.

parent 99ef0d6f
......@@ -34,7 +34,7 @@
#define IDS_DESCRIPTION 101
#define IDS_ABOUT 102
#define MSRLE32_DEFAULTQUALITY (75 * ICQUALITY_HIGH) / 100
#define MSRLE32_DEFAULTQUALITY (85 * ICQUALITY_HIGH) / 100
#define FOURCC_RLE mmioFOURCC('R','L','E',' ')
#define FOURCC_RLE4 mmioFOURCC('R','L','E','4')
......
......@@ -20,11 +20,13 @@
#include <windows.h>
#include <vfw.h>
#include <aviriff.h>
#include <stdio.h>
#include "wine/test.h"
static void test_encode(void)
{
DWORD quality;
ICINFO info;
HIC hic;
LRESULT res;
......@@ -39,6 +41,11 @@ static void test_encode(void)
todo_wine ok(info.dwFlags == (VIDCF_QUALITY|VIDCF_CRUNCH|VIDCF_TEMPORAL), "dwFlags = %x\n", info.dwFlags);
ok(info.dwVersionICM == ICVERSION, "dwVersionICM = %d\n", info.dwVersionICM);
quality = 0xdeadbeef;
res = ICSendMessage(hic, ICM_GETDEFAULTQUALITY, (DWORD_PTR)&quality, 0);
ok(res == ICERR_OK, "ICSendMessage(ICM_GETDEFAULTQUALITY) failed: %ld\n", res);
ok(quality == 8500, "quality = %d\n", quality);
ICClose(hic);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment