On Fri Jul 21 23:32:36 2023 +0000, Nikolay Sivov wrote:
This test does not really check anything regarding sample processing. Only that sample is accepted.
BeginFinalize/EndFinalize will make sure that all samples in queue is processed and finally generate the mp4 file. If I change MFCreateTempFile to MFCreateFile("C:\Temp\1.mp4"), it do produce a mp4 file which contains the frame as we expected.