Skip to content

Latest commit

 

History

History
94 lines (57 loc) · 2.93 KB

media-sample-content.md

File metadata and controls

94 lines (57 loc) · 2.93 KB
description ms.assetid title ms.topic ms.date topic_type api_name api_type api_location ms.custom
Describes the contents of an elementary stream within an MPEG-2 transport stream. This enumeration is used in the IMPEG2PIDMap interface, which is implemented on the output pins of the MPEG-2 Demultiplexer.
989ad56b-b5af-4811-889e-c79fcd3f7f01
MEDIA_SAMPLE_CONTENT enumeration (Bdatypes.h)
reference
4/26/2023
APIRef
kbSyntax
MEDIA_SAMPLE_CONTENT
HeaderDef
bdatypes.h
UpdateFrequency5

MEDIA_SAMPLE_CONTENT enumeration

[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

Describes the contents of an elementary stream within an MPEG-2 transport stream. This enumeration is used in the IMPEG2PIDMap interface, which is implemented on the output pins of the MPEG-2 Demultiplexer.

Syntax

typedef enum  { 
  MEDIA_TRANSPORT_PACKET,
  MEDIA_ELEMENTARY_STREAM,
  MEDIA_MPEG2_PSI,
  MEDIA_TRANSPORT_PAYLOAD
} MEDIA_SAMPLE_CONTENT;

Constants

MEDIA_TRANSPORT_PACKET

Specifies a complete transport stream packet to be passed through without processing.

MEDIA_ELEMENTARY_STREAM

Specifies an audio or video PES payload.

MEDIA_MPEG2_PSI

Specifies a PAT, PMT, CAT, or Private data stream. These are complete PSI sections which do not need to be reassembled.

MEDIA_TRANSPORT_PAYLOAD

Specifies gathered TS packet payloads, such as PES packets.

Requirements

Requirement Value
Header
Bdatypes.h (include Bdaiface.h)

See also

DirectShow Enumerated Types