Re: [PATCH v3 0/1] MR794: evr/filter: Initial implementation of sample rendering.
7 Sep
2022
7 Sep
'22
5:32 a.m.
On Tue Sep 6 20:28:13 2022 +0000, **** wrote:
Zebediah Figura replied on the mailing list: ``` On 9/6/22 09:12, Nikolay Sivov wrote:
+static HRESULT evr_get_service(void *unk, REFGUID service, REFIID riid, void **obj) +{ + IMFGetService *gs; + HRESULT hr; + + if (SUCCEEDED(hr = IUnknown_QueryInterface((IUnknown *)unk, &IID_IMFGetService, (void **)&gs))) + { + hr = IMFGetService_GetService(gs, service, riid, obj); + IMFGetService_Release(gs); + } + + return hr; +} + Isn't this MFGetService()? (It also isn't really evr-specific, so I'd be inclined to omit the evr_ prefix, but that's a rather minor quibble.)
Yes, it is, but I don't want to link to mf.dll just for that.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/794#note_7860
1201
Age (days ago)
1201
Last active (days ago)
0 comments
1 participants
participants (1)
-
Nikolay Sivov (@nsivov)