Click or drag to resize
VideoDecoderFactoryCreateDecoder Method (Codec)
Creates a video decoder object based on codec enumeration value.

Namespace: StreamCoders.Decoder
Assembly: MediaSuite (in MediaSuite.dll) Version: 2.0.5.0 (2.0.5.0)
Syntax
public static IVideoDecoderBase CreateDecoder(
	Codec codec
)

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