| Previous | Next |
| MF_E_PROPERTY_EMPTY | MF_E_PROPERTY_VECTOR_NOT_ALLOWED |
MF_E_PROPERTY_NOT_EMPTY
MF_E_PROPERTY_NOT_EMPTY indicates a precondition failure on existing property state. The operation expects no current value, but the target property already contains data.
Find who populated the property first
- Read and log the current value before the failing operation, including the
PROPVARIANTtype. - Trace initialization order. Media sources, sinks, or metadata providers can populate properties from parsed file data before application code runs.
- Do not overwrite the value automatically unless the API or file-format contract explicitly permits replacement.
Media Foundation supports both v1 IMFMetadata and Shell-style IPropertyStore metadata paths. These APIs expose property values through PROPVARIANT, but write and persistence behavior depends on the provider. For a media source, even deleting an item from an IMFMetadata collection does not modify the original media content. Diagnose the target collection and its lifecycle before clearing data as a workaround.
Microsoft: Media Metadata · Microsoft: IMFMetadata::DeleteProperty · Wine: property HRESULT definitions
Looking for a different code? Search another status or error code.