VideoDecoderFactoryCreateDecoder Method (Codec) |
Creates a video decoder object based on codec enumeration value.
Namespace: StreamCoders.DecoderAssembly: MediaSuite (in MediaSuite.dll) Version: 2.0.5.0 (2.0.5.0)
Syntax public static IVideoDecoderBase CreateDecoder(
Codec codec
)
Public Shared Function CreateDecoder (
codec As Codec
) As IVideoDecoderBase
public:
static IVideoDecoderBase^ CreateDecoder(
Codec codec
)
static member CreateDecoder :
codec : Codec -> IVideoDecoderBase
Parameters
- codec
- Type: StreamCodersCodec
The codec to create.
Return Value
Type:
IVideoDecoderBase
Returns a newly created decoder object, otherwise null.
Remarks
Note that in case of an unknown codec, the function will return a NullVideoDecoder object.
See Also