What does HRESULT 0xC00D6D67 (MF_E_TRANSFORM_PROPERTY_VARIANT_TYPE_WRONG) mean?

 
Previous Next
MF_E_TRANSFORM_PROPERTY_PID_NOT_RECOGNIZED MF_E_TRANSFORM_PROPERTY_NOT_WRITEABLE

MF_E_TRANSFORM_PROPERTY_VARIANT_TYPE_WRONG

MF_E_TRANSFORM_PROPERTY_VARIANT_TYPE_WRONG means the property identifier can be meaningful, but the supplied VARIANT has the wrong vt for that property. ICodecAPI explicitly defines codec configuration as GUID/value pairs whose interpretation depends on the property GUID.

Log the type tag as carefully as the numeric value

  • Record the property GUID and VARIANT.vt before calling the codec.
  • Compare the required type in the property documentation; distinguish VT_BOOL, signed and unsigned integers, arrays, and other supported forms.
  • Initialize and clear VARIANT values correctly so stale union data or a stale type tag is not reused.

A value such as 1 is not self-describing: boolean, 32-bit integer, and 64-bit integer variants are different contracts. Clamping the numeric payload will not fix a wrong vt.

Microsoft: ICodecAPI GUID/VARIANT model · Microsoft: Media Foundation property reference · Wine: mferror.h


Looking for a different code? Search another status or error code.