共用方式為


AM_MPEGSTREAMTYPE structure (mpegtype.h)

The AM_MPEGSTREAMTYPE structure defines the media type for an MPEG-1 program stream.

Syntax

typedef struct tagAM_MPEGSTREAMTYPE {
  DWORD         dwStreamId;
  DWORD         dwReserved;
  AM_MEDIA_TYPE mt;
  BYTE          bFormat[1];
} AM_MPEGSTREAMTYPE;

Members

dwStreamId

Stream identifier of the stream to process.

dwReserved

Reserved.

mt

AM_MEDIA_TYPE structure describing the type for the substeam. The pbFormat member of this structure must NULL. The format data normally conveyed in pbFormat is stored in the bFormat member.

bFormat[1]

Format data. The size of this array, in bytes, is given in the mt.cbFormat member.

Requirements

Requirement Value
Header mpegtype.h (include Dshow.h)

See also

AM_MPEGSYSTEMTYPE

DirectShow Structures

MEPG-1 Media Types