mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 21:29:49 +00:00
quartz/tests: Use correct media types in MPEG audio decoder tests.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
This commit is contained in:
parent
30313d23a3
commit
50c20cf8cf
|
@ -120,9 +120,9 @@ static const MPEGLAYER3WAVEFORMAT mp3_format1 =
|
|||
|
||||
static const AM_MEDIA_TYPE mp3_mt1 =
|
||||
{
|
||||
/* MEDIATYPE_Audio, MEDIASUBTYPE_MPEG1AudioPayload, FORMAT_WaveFormatEx */
|
||||
/* MEDIATYPE_Audio, MEDIASUBTYPE_MP3, FORMAT_WaveFormatEx */
|
||||
.majortype = {0x73647561, 0x0000, 0x0010, {0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71}},
|
||||
.subtype = {0x00000050, 0x0000, 0x0010, {0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71}},
|
||||
.subtype = {0x00000055, 0x0000, 0x0010, {0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71}},
|
||||
.bFixedSizeSamples = TRUE,
|
||||
.lSampleSize = 1,
|
||||
.formattype = {0x05589f81, 0xc356, 0x11ce, {0xbf, 0x01, 0x00, 0xaa, 0x00, 0x55, 0x59, 0x5a}},
|
||||
|
@ -741,12 +741,12 @@ static void test_media_types(void)
|
|||
|
||||
mt = mp2_mt;
|
||||
mt.subtype = MEDIASUBTYPE_MPEG1Packet;
|
||||
hr = IPin_QueryAccept(pin, &mp2_mt);
|
||||
hr = IPin_QueryAccept(pin, &mt);
|
||||
ok(hr == S_OK, "Got hr %#lx.\n", hr);
|
||||
|
||||
mt = mp2_mt;
|
||||
mt.subtype = MEDIASUBTYPE_MPEG1Payload;
|
||||
hr = IPin_QueryAccept(pin, &mp2_mt);
|
||||
hr = IPin_QueryAccept(pin, &mt);
|
||||
ok(hr == S_OK, "Got hr %#lx.\n", hr);
|
||||
|
||||
mt = mp2_mt;
|
||||
|
|
Loading…
Reference in a new issue