mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-01 15:14:29 +00:00
quartz: Add VideoRendererDefault.
This commit is contained in:
parent
e27ede4070
commit
9742724afe
|
@ -69,6 +69,7 @@ static const struct object_creation_info object_creation[] =
|
|||
{ &CLSID_AviSplitter, AVISplitter_create },
|
||||
{ &CLSID_MPEG1Splitter, MPEGSplitter_create },
|
||||
{ &CLSID_VideoRenderer, VideoRenderer_create },
|
||||
{ &CLSID_VideoRendererDefault, VideoRendererDefault_create },
|
||||
{ &CLSID_DSoundRender, DSoundRender_create },
|
||||
{ &CLSID_AVIDec, AVIDec_create },
|
||||
{ &CLSID_SystemClock, &QUARTZ_CreateSystemClock },
|
||||
|
|
|
@ -52,6 +52,7 @@ HRESULT MPEGSplitter_create(IUnknown * pUnkOuter, LPVOID * ppv);
|
|||
HRESULT AVIDec_create(IUnknown * pUnkOuter, LPVOID * ppv);
|
||||
HRESULT DSoundRender_create(IUnknown * pUnkOuter, LPVOID * ppv);
|
||||
HRESULT VideoRenderer_create(IUnknown * pUnkOuter, LPVOID * ppv);
|
||||
HRESULT VideoRendererDefault_create(IUnknown * pUnkOuter, LPVOID * ppv);
|
||||
HRESULT QUARTZ_CreateSystemClock(IUnknown * pUnkOuter, LPVOID * ppv);
|
||||
HRESULT ACMWrapper_create(IUnknown * pUnkOuter, LPVOID * ppv);
|
||||
HRESULT WAVEParser_create(IUnknown * pUnkOuter, LPVOID * ppv);
|
||||
|
|
|
@ -861,6 +861,12 @@ static struct regsvr_coclass const coclass_list[] = {
|
|||
"quartz.dll",
|
||||
"Both"
|
||||
},
|
||||
{ &CLSID_VideoRendererDefault,
|
||||
"Default Video Renderer",
|
||||
NULL,
|
||||
"quartz.dll",
|
||||
"Both"
|
||||
},
|
||||
{ &CLSID_ACMWrapper,
|
||||
"ACM wrapper",
|
||||
NULL,
|
||||
|
@ -1075,6 +1081,18 @@ static struct regsvr_filter const filter_list[] = {
|
|||
{ 0xFFFFFFFF },
|
||||
}
|
||||
},
|
||||
{ &CLSID_VideoRendererDefault,
|
||||
&CLSID_LegacyAmFilterCategory,
|
||||
{'V','i','d','e','o',' ','R','e','n','d','e','r','e','r',0},
|
||||
0x800000,
|
||||
{ { REG_PINFLAG_B_RENDERER,
|
||||
{ { &MEDIATYPE_Video, &GUID_NULL },
|
||||
{ NULL }
|
||||
},
|
||||
},
|
||||
{ 0xFFFFFFFF },
|
||||
}
|
||||
},
|
||||
{ &CLSID_AVIDec,
|
||||
&CLSID_LegacyAmFilterCategory,
|
||||
{'A','V','I',' ','D','e','c','o','m','p','r','e','s','s','o','r',0},
|
||||
|
|
|
@ -488,6 +488,12 @@ HRESULT VideoRenderer_create(IUnknown * pUnkOuter, LPVOID * ppv)
|
|||
return hr;
|
||||
}
|
||||
|
||||
HRESULT VideoRendererDefault_create(IUnknown * pUnkOuter, LPVOID * ppv)
|
||||
{
|
||||
/* TODO: Attenmpt to use the VMR-7 renderer instead when possible */
|
||||
return VideoRenderer_create(pUnkOuter, ppv);
|
||||
}
|
||||
|
||||
static HRESULT WINAPI VideoRendererInner_QueryInterface(IUnknown * iface, REFIID riid, LPVOID * ppv)
|
||||
{
|
||||
ICOM_THIS_MULTI(VideoRendererImpl, IInner_vtbl, iface);
|
||||
|
|
|
@ -135,6 +135,7 @@ OUR_GUID_ENTRY(CLSID_QTDec, 0xfdfe9681, 0x74a3, 0x11d0,
|
|||
OUR_GUID_ENTRY(CLSID_AVIDoc, 0xd3588ab0, 0x0781, 0x11ce, 0xb0, 0x3a, 0x00, 0x20, 0xaf, 0x0b, 0xa7, 0x70)
|
||||
OUR_GUID_ENTRY(CLSID_AVIDocWriter, 0xd3588ab1, 0x0781, 0x11ce, 0xb0, 0x3a, 0x00, 0x20, 0xaf, 0x0b, 0xa7, 0x70)
|
||||
OUR_GUID_ENTRY(CLSID_VideoRenderer, 0x70e102b0, 0x5556, 0x11ce, 0x97, 0xc0, 0x00, 0xaa, 0x00, 0x55, 0x59, 0x5a)
|
||||
OUR_GUID_ENTRY(CLSID_VideoRendererDefault, 0x6bc1cffa, 0x8fc1, 0x4261, 0xac, 0x22, 0xcf, 0xb4, 0xcc, 0x38, 0xdb, 0x50)
|
||||
OUR_GUID_ENTRY(CLSID_Colour, 0x1643e180, 0x90f5, 0x11ce, 0x97, 0xd5, 0x00, 0xaa, 0x00, 0x55, 0x59, 0x5a)
|
||||
OUR_GUID_ENTRY(CLSID_Dither, 0x1da08500, 0x9edc, 0x11cf, 0xbc, 0x10, 0x00, 0xaa, 0x00, 0xac, 0x74, 0xf6)
|
||||
OUR_GUID_ENTRY(CLSID_ModexRenderer, 0x07167665, 0x5011, 0x11cf, 0xbf, 0x33, 0x00, 0xaa, 0x00, 0x55, 0x59, 0x5a)
|
||||
|
|
Loading…
Reference in a new issue