IMFSinkWriterEncoderConfig::PlaceEncodingParameters method
Dynamically updates the encoder configuration with a collection of new encoder settings.
Syntax
HRESULT PlaceEncodingParameters( [in] DWORD dwStreamIndex, [in] IMFAttributes *pEncodingParameters );
Parameters
- dwStreamIndex [in]
-
Specifies the stream index.
- pEncodingParameters [in]
-
A set of encoding parameters to configure the encoder with.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
The encoder will be configured with these settings after all previously queued input media samples have been sent to it through IMFTransform::ProcessInput.
Requirements
|
Minimum supported client |
Windows 8.1 [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2012 R2 [desktop apps | Windows Store apps] |
|
IDL |
|
See also