共用方式為


AM_PUSHSOURCE_FLAGS Enumeration

 
Microsoft DirectShow 9.0

AM_PUSHSOURCE_FLAGS Enumeration

Indicates the behavior of a live source filter.

Syntax

  enum _AM_PUSHSOURCE_FLAGS {
    AM_PUSHSOURCECAPS_INTERNAL_RM        = 0x00000001,  
    AM_PUSHSOURCECAPS_NOT_LIVE           = 0x00000002,  
    AM_PUSHSOURCECAPS_PRIVATE_CLOCK      = 0x00000004,  
    AM_PUSHSOURCEREQS_USE_STREAM_CLOCK   = 0x00010000   
};

Members

AM_PUSHSOURCECAPS_INTERNAL_RM

The filter uses its own rate-matching mechanism; the renderer should therefore not attempt to match rates with this filter.

AM_PUSHSOURCECAPS_NOT_LIVE

The filter is not live. Do not treat it as a live source, even though it exposes the IAMPushSource interface.

AM_PUSHSOURCECAPS_PRIVATE_CLOCK

The filter time stamps the samples using a private clock. The clock is not available to the rest of the graph through IReferenceClock.

AM_PUSHSOURCEREQS_USE_STREAM_CLOCK

Reserved; do not use.

Remarks

If no flags are set (the default case), the source filter is assumed to be live and not to perform any rate matching on its own.

Requirements

  Header: Dshow.h

See Also