|Microsoft DirectX 9.0|
The DynamicReconnect method performs a dynamic reconnection with a new media type. The reconnection can occur while the filter graph is running.
HRESULT DynamicReconnect( const CMediaType *pmt );
Pointer to an AM_MEDIA_TYPE structure that specifies the media type.
Returns an HRESULT value. Possible values include those shown in the following table.
|E_FAIL||Failure. Possibly the owning filter did not call the CDynamicOutputPin::SetConfigInfo method.|
This method must be called from the same thread that delivers data to the pin. Once this method is called, samples with the old media type cannot be delivered. The caller must ensure that no old samples are pending.
Call CDynamicOutputPin::StartUsingOutputPin before calling this method.