Compartilhar via


DMO_OUTPUT_DATA_BUFFER structure (mediaobj.h)

[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.]

The DMO_OUTPUT_DATA_BUFFER structure describes an output buffer used by a Microsoft DirectX Media Object (DMO).

Syntax

typedef struct _DMO_OUTPUT_DATA_BUFFER {
  IMediaBuffer   *pBuffer;
  DWORD          dwStatus;
  REFERENCE_TIME rtTimestamp;
  REFERENCE_TIME rtTimelength;
} DMO_OUTPUT_DATA_BUFFER, *PDMO_OUTPUT_DATA_BUFFER;

Members

pBuffer

Pointer to the IMediaBuffer interface of a buffer allocated by the application.

dwStatus

Status flags. After processing output, the DMO sets this member to a bitwise combination of zero or more DMO_OUTPUT_DATA_BUFFER_FLAGS flags.

rtTimestamp

Time stamp that specifies the start time of the data in the buffer. If the buffer has a valid time stamp, the DMO sets this member and also sets the DMO_OUTPUT_DATA_BUFFERF_TIME flag in the dwStatus member. Otherwise, ignore this member.

rtTimelength

Reference time specifying the length of the data in the buffer. If the DMO sets this member to a valid value, it also sets the DMO_OUTPUT_DATA_BUFFERF_TIMELENGTH flag in the dwStatus member. Otherwise, ignore this member.

Requirements

Requirement Value
Header mediaobj.h

See also

DMO Structures

IMediaObject::ProcessOutput