| Previous | Next |
| MF_E_INVALID_FORMAT | MF_E_PROPERTY_READ_ONLY |
MF_E_PROPERTY_NOT_FOUND
MF_E_PROPERTY_NOT_FOUND has a direct Media Foundation metadata contract. IMFMetadata::GetProperty returns it when the named property is absent, and DeleteProperty returns the same code when there is nothing with that name to delete.
Verify the metadata scope and property name
- Call
GetAllPropertyNamesand compare the requested wide-character name with the names actually exposed by the provider. - Check whether you requested presentation-level metadata or stream-level metadata.
IMFMetadataProvider::GetMFMetadataselects scope with the stream identifier. - Do not substitute an
IMFAttributesGUID key for anIMFMetadatastring property name; these are different APIs.
Metadata availability is format- and provider-dependent. The absence of a title, artist, or encoding property does not imply corrupt media. Log the selected stream identifier, language setting when applicable, provider, and enumerated property names before adding a fallback.
Microsoft: IMFMetadata::GetProperty · Microsoft: metadata scope and enumeration · Wine: Media Foundation HRESULT definitions
Looking for a different code? Search another status or error code.