On Tue Jun 27 18:27:27 2023 +0000, Nikolay Sivov wrote:
With my patch sample objects are reused, you can have some integer id per mft instance, then set attribute as id+1 on ProcessOutput(), and on ProcessInput() check for id == attrvalue. For the fact that transforms are called at all, it's enough to accumulate some stats for a number of ever returned samples. After transfer call just compare them to zero. For attribute guid please use something more neutral, for example IMFSample or IUnknown uuid.
Yeah instead of the id thingy I put the `is_receiver` variable since we only have 2 mfts anyway.