See Also
You are here: Player Plug-ins > Definitions > Input Plug-ins > QCDModInitIn > QCDModInitIn::toModule > CreateDecoderInstance
QMP Developer Reference Guide
ContentsIndexHome
PreviousUpNext
CreateDecoderInstance

The player calls this function to create an separate instance of a decoder.

Parameters
Parameters 
Description 
medianame 
[in] Unicode string of filename or stream URL 
flags 
[in] no flags currently defined 
Return Values
Return Values 
Description 
NULL 
could not create decoder instance 
IQCDMediaDecoder* 
pointer to new decoder instance 
Remarks

The player will use this instance to operate the IQCDMediaDecoder interface that it provides other plug-ins. For plug-ins to support this function call, the plug-in must be able to instantiate any number of independent IQCDMediaDecoder instances. 

The reason for this function call is to mix old plug-in support with newer interface support. Previous plug-ins were not able to be multiply instantiated. 

For more information see IQCDMediaDecoder interface.

See Also
Copyright (c) Quinnware 2007. All rights reserved.