IRTPRPHFilter::SetMediaBufferSize

[This is preliminary documentation and subject to change.]

Set the size for the reassembled media data buffers. This reflects the maximum expected size of a media sample to be produced by the RPH. If this value is not set, a default value will be chosen based on the media type of the filter. To be used at initialization time only.

HRESULT SetMediaBufferSize(
  DWORD dwMaxMediaBufferSize
);
 

Parameters

dwMaxMediaBufferSize
[in] Size of the reassembled media data buffers.

Return Values

E_OUTOFMEMORY
The buffer size requested cannot be satisfied due to memory constraints.
NOERROR
The media buffer size has been set successfully.