[PATCH 0/5] MR369: mf: MFGetTopoNodeCurrentType fixes.

Nikolay Sivov (@nsivov) wine at gitlab.winehq.org
Mon Jul 4 13:39:43 CDT 2022


On Mon Jul  4 18:10:08 2022 +0000, Rémi Bernon wrote:
> Yeah sorry, it queries `IMFStreamSink` first indeed, though it also
> succeeds if the node's object only implements `IMFMediaTypeHandler`.
I see, thanks for checking that. Could you make it work this way? It's probably having two paths to get the handler, maybe even with E_NOINTERFACE if none of the two interfaces are implemented. The reason I think it's better to follow it here is first because sink is not required to expose the handler this way, thus explicit method. And second because in topology context you don't normally set something that doesn't support IMFStreamSink as an output node object.

-- 
https://gitlab.winehq.org/wine/wine/-/merge_requests/369#note_3264



More information about the wine-devel mailing list