| Previous | Next |
| MF_E_TRANSFORM_PROPERTY_VALUE_SIZE_WRONG | MF_E_TRANSFORM_PROPERTY_VALUE_INCOMPATIBLE |
MF_E_TRANSFORM_PROPERTY_VALUE_OUT_OF_RANGE
MF_E_TRANSFORM_PROPERTY_VALUE_OUT_OF_RANGE is a value-domain error after the property identifier and representation have been recognized. The supplied setting is outside the limits accepted by the current transform.
Query capabilities instead of hard-coding a universal range
- Use
ICodecAPI::GetParameterRangefor ranged properties and record minimum, maximum, and stepping information returned by the codec. - Use
GetParameterValueswhen the property exposes a discrete list of valid values. - Re-query after changing media types or other major codec settings if the implementation documents configuration-dependent capabilities.
Bitrate, worker-count, quality, and similar numeric properties are not guaranteed to have identical limits across software and hardware MFTs. Clamping to a remembered value from another codec can still fail. Log the queried capability data together with the rejected value.
Microsoft: ICodecAPI range and value methods · Microsoft: codec and Media Foundation properties · Wine: transform property HRESULTs
Looking for a different code? Search another status or error code.