quartz: Fixed building with MSVC headers.
This commit is contained in:
parent
45d248f1e0
commit
1b31c6e616
|
@ -138,32 +138,32 @@ static void test_aggregation(const CLSID clsidOuter, const CLSID clsidInner,
|
||||||
|
|
||||||
static void test_video_renderer_aggregations(void)
|
static void test_video_renderer_aggregations(void)
|
||||||
{
|
{
|
||||||
IID iids[] = {
|
const IID * iids[] = {
|
||||||
IID_IMediaFilter, IID_IBaseFilter, IID_IBasicVideo, IID_IVideoWindow
|
&IID_IMediaFilter, &IID_IBaseFilter, &IID_IBasicVideo, &IID_IVideoWindow
|
||||||
};
|
};
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
for (i = 0; i < sizeof(iids) / sizeof(iids[0]); i++)
|
for (i = 0; i < sizeof(iids) / sizeof(iids[0]); i++)
|
||||||
{
|
{
|
||||||
test_aggregation(CLSID_SystemClock, CLSID_VideoRenderer,
|
test_aggregation(CLSID_SystemClock, CLSID_VideoRenderer,
|
||||||
IID_IReferenceClock, iids[i]);
|
IID_IReferenceClock, *iids[i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void test_filter_graph_aggregations(void)
|
static void test_filter_graph_aggregations(void)
|
||||||
{
|
{
|
||||||
IID iids[] = {
|
const IID * iids[] = {
|
||||||
IID_IFilterGraph2, IID_IMediaControl, IID_IGraphBuilder,
|
&IID_IFilterGraph2, &IID_IMediaControl, &IID_IGraphBuilder,
|
||||||
IID_IFilterGraph, IID_IMediaSeeking, IID_IBasicAudio, IID_IBasicVideo,
|
&IID_IFilterGraph, &IID_IMediaSeeking, &IID_IBasicAudio, &IID_IBasicVideo,
|
||||||
IID_IVideoWindow, IID_IMediaEventEx, IID_IMediaFilter,
|
&IID_IVideoWindow, &IID_IMediaEventEx, &IID_IMediaFilter,
|
||||||
IID_IMediaEventSink, IID_IGraphConfig, IID_IMediaPosition
|
&IID_IMediaEventSink, &IID_IGraphConfig, &IID_IMediaPosition
|
||||||
};
|
};
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
for (i = 0; i < sizeof(iids) / sizeof(iids[0]); i++)
|
for (i = 0; i < sizeof(iids) / sizeof(iids[0]); i++)
|
||||||
{
|
{
|
||||||
test_aggregation(CLSID_SystemClock, CLSID_FilterGraph,
|
test_aggregation(CLSID_SystemClock, CLSID_FilterGraph,
|
||||||
IID_IReferenceClock, iids[i]);
|
IID_IReferenceClock, *iids[i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue