qcap/tests: Use int instead of LONG for the arguments to IAMStreamConfig::GetNumberOfCapabilities().
Signed-off-by: Eric Pouech <eric.pouech@gmail.com> Signed-off-by: Zebediah Figura <zfigura@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
7f0c59f360
commit
05d3b1d8f3
|
@ -84,11 +84,12 @@ static void test_media_types(IPin *pin)
|
||||||
static void test_stream_config(IPin *pin)
|
static void test_stream_config(IPin *pin)
|
||||||
{
|
{
|
||||||
VIDEOINFOHEADER *video_info, *video_info2;
|
VIDEOINFOHEADER *video_info, *video_info2;
|
||||||
LONG depth, compression, count, size, i;
|
|
||||||
IEnumMediaTypes *enum_media_types;
|
IEnumMediaTypes *enum_media_types;
|
||||||
AM_MEDIA_TYPE *format, *format2;
|
AM_MEDIA_TYPE *format, *format2;
|
||||||
IAMStreamConfig *stream_config;
|
IAMStreamConfig *stream_config;
|
||||||
VIDEO_STREAM_CONFIG_CAPS vscc;
|
VIDEO_STREAM_CONFIG_CAPS vscc;
|
||||||
|
LONG depth, compression;
|
||||||
|
int count, size, i;
|
||||||
HRESULT hr;
|
HRESULT hr;
|
||||||
|
|
||||||
hr = IPin_QueryInterface(pin, &IID_IAMStreamConfig, (void **)&stream_config);
|
hr = IPin_QueryInterface(pin, &IID_IAMStreamConfig, (void **)&stream_config);
|
||||||
|
|
Loading…
Reference in New Issue