MEPolicyChanged event

Raised by a pipeline component when the output policy for the stream changes. This event applies only to protected content.

Event values

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

VARTYPE Description
VT_UNKNOWN
Pointer to the IMFOutputPolicy interface of the new policy for the stream.

Remarks

All trusted outputs must handle this event. Media Foundation transforms (MFTs) receive this event through the IMFTransform::ProcessEvent method. Media sinks receive this event through the IMFStreamSink::PlaceMarker method.

The trusted output must apply the new policy or return the error code MF_E_POLICY_UNSUPPORTED.

Requirements

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

See also

Media Foundation Events