MF_TIMED_TEXT_ERROR_CODE enumeration (mfmediaengine.h)

Specifies the kind error that occurred with a timed text track.

Syntax

typedef enum MF_TIMED_TEXT_ERROR_CODE {
  MF_TIMED_TEXT_ERROR_CODE_NOERROR = 0,
  MF_TIMED_TEXT_ERROR_CODE_FATAL = 1,
  MF_TIMED_TEXT_ERROR_CODE_DATA_FORMAT = 2,
  MF_TIMED_TEXT_ERROR_CODE_NETWORK = 3,
  MF_TIMED_TEXT_ERROR_CODE_INTERNAL = 4
} ;

Constants

 
MF_TIMED_TEXT_ERROR_CODE_NOERROR
Value: 0
No error occurred.
MF_TIMED_TEXT_ERROR_CODE_FATAL
Value: 1
A fatal error occurred.
MF_TIMED_TEXT_ERROR_CODE_DATA_FORMAT
Value: 2
An error occurred with the data format of the timed text track.
MF_TIMED_TEXT_ERROR_CODE_NETWORK
Value: 3
A network error occurred when trying to load the timed text track.
MF_TIMED_TEXT_ERROR_CODE_INTERNAL
Value: 4
An internal error occurred.

Remarks

This enumeration is used to return error information from the IMFTimedTextTrack::GetErrorCode method.

Requirements

Requirement Value
Header mfmediaengine.h

See also

Media Foundation Enumerations