On Tue Apr 25 10:34:58 2023 +0000, Nikolay Sivov wrote:
Why do you need to check this explicitly? Doesn't it fail to create a writer?
According to my tests on testbot, Win8 and Win7 fail to create writers of some types, but they also succeed for some types.
What I found is, if MFCreateXXXMediaSink is missing, creating writer for this type of container fails. Otherwise, it succeeds.
So I check MFCreateXXXMediaSink explicitly here to determine if writer creation for this type of container will succeed or not.