Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Diederick_H_
Beginner
80 Views

[SOLVED] Windows Media Foundation, IMFTransform::SetOutputType returns unclear E_FAIL

Dear reader,

I wanted to point out that when setting a framerate that is not supported (or maybe even invalid) using MFSetAttributeRatio(input_media_type, MF_MT_FRAME_RATE, fps_num, fps_den) calling IMFTransform::SetOutputType() returns an E_FAIL error, even when the MFSetAttributeRatio() returns true. 

I would expect that the intel MFT would return an error when calling MFSetAttributeRatio for MF_MT_FRAME_RATE when using invalid / unsupported values; figuring out what was casing the E_FAIL returned by SetOutputType took quite some time and was found with a lucky shot.

Kind regards,

Diederick 

0 Kudos
0 Replies
Reply