IRTPSPHFilter::SetInputPinMediaType
[This is preliminary documentation and subject to change.]
Set the media type of the output pin.
HRESULT SetInputPinMediaType(
AM_MEDIA_TYPE *lpMediaPinType
);
Parameters
-
lpMediaPinType
-
[in] The media type to which the input pin should be set.
Return Values
-
VFW_E_ALREADY_CONNECTED
-
The input pin is already connected.
-
VFW_E_INVALIDSUBTYPE
-
The media type indicated by gMinorType does not match the list of accepted values by this filter. Minor types are defined for all RTP fixed payload types and for each possible dynamic payload type value.
-
NOERROR
-
The minor media type of the input pin has been set successfully.