Skip to content

Latest commit

 

History

History
82 lines (48 loc) · 2.55 KB

cbasevideorenderer-get-framesdroppedinrenderer.md

File metadata and controls

82 lines (48 loc) · 2.55 KB
description ms.assetid title ms.topic ms.date topic_type api_name api_type api_location ms.custom
The get\_FramesDroppedInRenderer method retrieves the number of frames dropped by the renderer.
d890f285-b3bb-426c-80f6-e273cf0cccbb
CBaseVideoRenderer.get_FramesDroppedInRenderer method (Renbase.h)
reference
4/26/2023
APIRef
kbSyntax
CBaseVideoRenderer.get_FramesDroppedInRenderer
COM
Strmbase.lib
Strmbase.dll
Strmbasd.lib
Strmbasd.dll
UpdateFrequency5

CBaseVideoRenderer.get_FramesDroppedInRenderer method

[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The get_FramesDroppedInRenderer method retrieves the number of frames dropped by the renderer.

Syntax

HRESULT get_FramesDroppedInRenderer(
   int *pcFramesDropped
);

Parameters

pcFramesDropped

Pointer to the number of frames dropped.

Return value

Returns an HRESULT value.

Remarks

This member function implements the IQualProp::get_FramesDroppedInRenderer method. This is how the property page retrieves the data from the scheduler. Frames can also be dropped upstream without the renderer even seeing them.

Requirements

Requirement Value
Header
Renbase.h (include Streams.h)
Library
Strmbase.lib (retail builds);
Strmbasd.lib (debug builds)

See also

CBaseVideoRenderer Class