mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-30 05:31:39 +00:00
msvfw32/tests: Test that Cinepak rejects unsupported output types.
This commit is contained in:
parent
640698e432
commit
1543fc8d1b
|
@ -190,6 +190,13 @@ static void test_Locate(void)
|
||||||
if (h) ok(ICClose(h) == ICERR_OK,"ICClose failed\n");
|
if (h) ok(ICClose(h) == ICERR_OK,"ICClose failed\n");
|
||||||
bo.biHeight = - bo.biHeight;
|
bo.biHeight = - bo.biHeight;
|
||||||
|
|
||||||
|
bo.biCompression = mmioFOURCC('U','Y','V','Y');
|
||||||
|
bo.biBitCount = bi.biBitCount = 16;
|
||||||
|
h = ICLocate(ICTYPE_VIDEO, 0, &bi, &bo, ICMODE_DECOMPRESS);
|
||||||
|
ok(h == 0, "cvid->UYVY succeeded\n");
|
||||||
|
if (h) ok(ICClose(h) == ICERR_OK,"ICClose failed\n");
|
||||||
|
bo.biCompression = BI_RGB;
|
||||||
|
|
||||||
bo.biBitCount = bi.biBitCount = 32;
|
bo.biBitCount = bi.biBitCount = 32;
|
||||||
h = ICLocate(ICTYPE_VIDEO, 0, &bi, &bo, ICMODE_DECOMPRESS);
|
h = ICLocate(ICTYPE_VIDEO, 0, &bi, &bo, ICMODE_DECOMPRESS);
|
||||||
ok(h != 0, "cvid->RGB32 failed\n");
|
ok(h != 0, "cvid->RGB32 failed\n");
|
||||||
|
|
Loading…
Reference in a new issue