mediaFoundationReaderStreamSetCurrentMediaType | |||||||||||||
Type | command | ||||||||||||
Dictionary | LCS | ||||||||||||
Library | mediafoundation | ||||||||||||
Syntax |
| ||||||||||||
Associations | mediafoundation | ||||||||||||
Summary | Set the current media type of a reader stream. Platform:desktop | ||||||||||||
OS | windows | ||||||||||||
Parameters |
| ||||||||||||
Values |
| ||||||||||||
Related | Command: mediaFoundationTranscode, mediaFoundationCreateReader | ||||||||||||
Description | The reader must already be created with mediaFoundationCreateReader. The current media type is the type that samples will be read as. The command will return false if the reader is unable to decode the stream into the requested media type. Note:See the mediaFoundationTranscode documentation for a complete example of using this handler. |