IAMTimelineGroup::GetPreviewMode
Microsoft DirectShow 9.0 |
IAMTimelineGroup::GetPreviewMode
The GetPreviewMode method retrieves the preview mode for the group.
Syntax
HRESULT GetPreviewMode( BOOL *pfPreview );
Parameters
pfPreview
Pointer to a variable that receives a Boolean value indicating the preview mode. If TRUE, the group is in preview mode. If FALSE, the group is in authoring mode.
Return Value
Returns S_OK if successful, or E_POINTER otherwise.
Remarks
In preview mode, frames are dropped during slow effects or transitions to keep the video synchronized with the audio. The video might look choppy as a result. In authoring mode, every frame is rendered. Authoring mode is appropriate for writing files; for on-screen preview, the video might become out of sync with the audio.
Requirements
Header: Include Qedit.h. This header file is not compatible with Microsoft® Direct3D® headers later than version 7.
Library: Use strmiids.lib.
See Also