ref_iface_IVDXVideoSource_CreateVideoDecoderModel - shekh/VirtualDub2 GitHub Wiki
VirtualDub Plugin SDK 1.2
IVDXVideoSource interface
Creates a new video decoder model object for this video source.
bool CreateVideoDecoderModel(IVDXVideoDecoderModel **ppDecoderModel);
ppDecoderModel | Pointer to location to receive new decoder model object pointer. |
This method is not thread-safe.
Errors may not be returned from this function (see SetError()).
True if creation was successful, false for failure.
It is possible for multiple video decoder models to be created from the same video source; implementations must not return the same decoder model object when the host requests two simultaneous decoder models.
The decoder model should have one outstanding reference on it; the host will call IVDXUnknown::Release() when it is finished with the object.
Copyright (C) 2007-2012 Avery Lee.