Share via


IAMLine21Decoder::SetRedrawAlways

 
Microsoft DirectShow 9.0

IAMLine21Decoder::SetRedrawAlways

The SetRedrawAlways method specifies whether the Line 21 Decoder filter redraws the entire output bitmap for each sample.

Syntax

  HRESULT SetRedrawAlways(
  BOOL bOption
);

Parameters

bOption

Specifies one of the following values.

Value Description
TRUE The filter always redraws the entire bitmap.
FALSE The filter does not always redraw the entire bitmap. (Default)

Return Values

Returns S_OK if successful, or an error code otherwise.

Remarks

Generally, applications should not call this method. The downstream mixer or renderer filter should call this method with the value TRUE if it writes into the buffers that it receives from the Line 21 Decoder filter. Redrawing degrades performance and increases CPU load, because it negates any potential optimizations.

Requirements

Header: Include il21dec.h.

Library: Use Strmiids.lib.

See Also