Microsoft DirectX 8.0 |
Downgrades the frame rate on a digital video (DV) stream. The DV Splitter filter exposes this interface.
Applications can use this interface to reduce the frame rate on a DV stream, before the stream reaches the DV Video Decoder filter. This can be helpful for processor-intensive tasks, such as real-time transcoding.
IUnknown methods Description QueryInterface Retrieves pointers to supported interfaces. AddRef Increments the reference count. Release Decrements the reference count. IDVSplitter methods Description DiscardAlternateVideoFrames Discards half of the frames in the video stream.
Discards half of the frames in the video stream. For NTSC, the frame rate is reduced from 30 frames per second (fps) to 15 fps. For PAL, the frame rate is reduced from 25 fps to 12.5 fps.
Syntax
HRESULT DiscardAlternateVideoFrames( int nDiscard );
Parameters
- nDiscard
- [in] Flag that specifies whether to discard frames. If the value is non-zero, the filter discards alternate frames. If the value is zero, the filter delivers every frame.
Return Value
Returns an HRESULT value. Possible values include those shown in the following table.
S_OK Success. E_UNEXPECTED Filter is paused or running.