| Previous | Next |
| MF_E_INVALID_PROFILE | MF_E_NO_INDEX |
MF_E_INDEX_NOT_COMMITTED
MF_E_INDEX_NOT_COMMITTED is a write-mode ASF indexer sequencing error. Microsoft documents it for GetIndexWriteSpace and GetCompletedIndex when IMFASFIndexer::CommitIndex has not been called.
Commit before sizing or copying the index
After all relevant ASF packets have been passed to GenerateIndexEntries, call CommitIndex. Then query the required write space and retrieve the completed index, using contiguous offsets if multiple output buffers are needed.
After writing the index data, regenerate the ASF header with IMFASFContentInfo::GenerateHeader and overwrite the old header; otherwise the header may not describe the new content correctly. Do not treat this HRESULT as “index data missing” and rebuild the whole file before checking the API order. The indexer deliberately separates generation, commit, and serialization.
Microsoft: GetCompletedIndex and commit requirement · Microsoft: IMFASFIndexer write-mode methods · Wine Media Foundation HRESULT definitions
Looking for a different code? Search another status or error code.