Redigera

Dela via


MESourceMetadataChanged event

Raised by a media source when it updates its metadata.

Event values

Possible values retrieved from IMFMediaEvent::GetValue include the following.

VARTYPE Description
VT_EMPTY
No event data.

Remarks

If the media source cannot provide all of the metadata when the source is first created, it should raise this event after the metadata is available.

The media source should create a new presentation descriptor and copy all of the attributes from the presentation descriptor (PD) to the event object. The application can use the event object to enumerate the new PD attributes. In particular, the values for MF_PD_DURATION and MF_PD_TOTAL_FILE_SIZE might be unknown until the file is completely downloaded.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
Header
Mfobjects.h (include Mfidl.h)

See also

Media Foundation Events

Presentation Descriptor Attributes