Share via


CBaseRenderer::StartStreaming

 
Microsoft DirectShow 9.0

CBaseRenderer::StartStreaming

The StartStreaming method initiates streaming when the filter switches to a running state.

Syntax

  virtual HRESULT StartStreaming(void);

Return Value

Returns S_OK or another HRESULT value.

Remarks

If the filter has a sample, it schedules the sample for rendering. Otherwise, if there is a pending end-of-stream notification, the filter sends an EC_COMPLETE event to the filter graph manager.

This method calls the CBaseRenderer::OnStartStreaming method. That method does nothing in the base class, but the derived class can override it.

Requirements

**  Header:** Declared in Renbase.h; include Streams.h.

**  Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).

See Also