ref_iface_IVDXStreamSource_GetDirectFormat - shekh/VirtualDub2 GitHub Wiki
VirtualDub Plugin SDK 1.2
IVDXStreamSource interface
Obtains the direct format for the stream, if present.
const void *GetDirectFormat();
This method is not thread-safe.
Errors may not be returned from this function (see SetError()).
A pointer to the direct format structure, or NULL if direct stream copy is not supported. The direct format is a VDXBITMAPINFOHEADER for a video stream and VDXWAVEFORMATEX for an audio stream.
If an implementation wishes to support the direct stream copy feature, it must return a non-null direct format. This is the format that is used for the output stream. The pointer must remain valid for the life of the stream source. Currently, a direct format must always be exposed for an audio stream.
Copyright (C) 2007-2012 Avery Lee.