Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
3/26/2014
Sets the maximum sample size for the data stream.
Syntax
void SetSampleSize(
ULONG sz
);
Parameters
- sz
Size of the sample.
Return Value
None.
Remarks
If the sample size passed is zero, the object is set so that the data stream will send variable-length samples (the CMediaType::GetSampleSize member function will return zero). Otherwise, it will set the maximum size of the sample to the size specified in the sz parameter.
Requirements
Header |
dshow.h, |
Library |
ole32.lib, |