CBaseRenderer::SendRepaint
Microsoft DirectShow 9.0 |
CBaseRenderer::SendRepaint
The SendRepaint method sends a repaint event to the filter graph manager.
Syntax
void SendRepaint(void);
Remarks
This method sends an EC_REPAINT event to the filter graph manager if the following conditions are true:
- The input pin is connected.
- The filter is not flushing data.
- The end-of-stream was not reached.
- The CBaseRenderer::m_bAbort flag is FALSE.
- The CBaseRenderer::m_bRepaintStatus flag is TRUE.
Depending on the state of the graph, the EC_REPAINT event can cause the upstream filter to re-send a sample; the filter graph to seek to its current location; or the filter graph manager to pause momentarily. (See EC_REPAINT.) This event is potentially inefficient, so it should be used sparingly. However, video renderers sometimes need to refresh the display.
Requirements
** Header:** Declared in Renbase.h; include Streams.h.
** Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).
See Also