[PATCH v2 3/5] wmphoto: Implement class factory for WmpDecoder.

Rémi Bernon rbernon at codeweavers.com
Mon Jan 18 04:18:51 CST 2021


On 1/16/21 3:32 AM, Esme Povirk (they/them) wrote:
> I'm curious why stream.c and metadataquery.c are needed. It seems odd
> to duplicate those interface implementations.
> 

Because CommonDecoderFrame_Block_GetReaderByIndex calls 
StreamImpl_Create, and because CommonDecoderFrame_GetMetadataQueryReader 
calls MetadataQueryReader_CreateInstance, although this one could be 
avoided by using IWICComponentFactory_CreateQueryReaderFromBlockReader.
-- 
Rémi Bernon <rbernon at codeweavers.com>



More information about the wine-devel mailing list