Bagikan melalui


_DMO_OUTPUT_DATA_BUFFER_FLAGS enumeration (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_FLAGS enumeration defines flags that describe an output buffer.

Syntax

typedef enum _DMO_OUTPUT_DATA_BUFFER_FLAGS {
  DMO_OUTPUT_DATA_BUFFERF_SYNCPOINT = 0x1,
  DMO_OUTPUT_DATA_BUFFERF_TIME = 0x2,
  DMO_OUTPUT_DATA_BUFFERF_TIMELENGTH = 0x4,
  DMO_OUTPUT_DATA_BUFFERF_DISCONTINUITY = 0x8,
  DMO_OUTPUT_DATA_BUFFERF_INCOMPLETE = 0x1000000
} ;

Constants

 
DMO_OUTPUT_DATA_BUFFERF_SYNCPOINT
Value: 0x1
The beginning of the data is a synchronization point.
A synchronization point is a random access point. For encoded video, this a sample that can be used as a decoding start point (key frame). For uncompressed audio or video, every sample is a synchronization point.
DMO_OUTPUT_DATA_BUFFERF_TIME
Value: 0x2
The buffer's time stamp is valid.

The buffer's indicated time length is valid.
DMO_OUTPUT_DATA_BUFFERF_TIMELENGTH
Value: 0x4
The buffer's indicated time length is valid.
DMO_OUTPUT_DATA_BUFFERF_DISCONTINUITY
Value: 0x8
DMO_OUTPUT_DATA_BUFFERF_INCOMPLETE
Value: 0x1000000
There is still input data available for processing, but the output buffer is full.

Requirements

Requirement Value
Header mediaobj.h

See also

DMO Enumerated Types

IMediaObject::ProcessOutput