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

The player calls this function to determine if the plug-in supports a given media file.

Parameters
Parameters 
Description 
medianame 
[in] string of the filename or stream URL (encoding determined by version setting) 
mediaInfo 
[in] plug-in provided information about medianame (members to be set by plug-in) 
Return Values
Return Values 
Description 
medianame is not supported by this plug-in 
medianame is supported by this plug-in 
Remarks

 

 

The plug-in should do a quick check to determine if it supports the media specified. This usually involves a file extension comparison, but for URLs can be more extensive. If determination of support is ambiguous, it is recommended to return 1, and do further investigation when Play is called. If the media turns out to be unsupported, Play can return the appropriate value to indicate this.

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