mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:19:49 +00:00
msrle32: Use the same default quality as native.
This commit is contained in:
parent
99ef0d6ff0
commit
1ed45a7416
2 changed files with 8 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue