Export (0) Print
Expand All
Expand Minimize

MT_ARBITRARY_HEADER structure

Contains format data for a binary stream in an Advanced Streaming Format (ASF) file.

Syntax


typedef struct _MT_ARBITRARY_HEADER {
  GUID  majortype;
  GUID  subtype;
  BOOL  bFixedSizeSamples;
  BOOL  bTemporalCompression;
  ULONG lSampleSize;
  GUID  formattype;
} MT_ARBITRARY_HEADER;

Members

majortype

Major media type. This value is the GUID stored in the Major Media Type field of the Type-Specific Data field of the ASF file. It might not match the major type GUID from the Media Foundation media type.

subtype

Media subtype.

bFixedSizeSamples

If TRUE, samples have a fixed size in bytes. Otherwise, samples have variable size.

bTemporalCompression

If TRUE, the data in this stream uses temporal compression. Otherwise, samples are independent of each other.

lSampleSize

If bFixedSizeSamples is TRUE, this member specifies the sample size in bytes. Otherwise, the value is ignored and should be 0.

formattype

Format type GUID. This GUID identifies the structure of the additional format data, which is stored in the MF_MT_ARBITRARY_FORMAT attribute of the media type. If no additional format data is present, formattype equals GUID_NULL.

Remarks

This structure is used with the MF_MT_ARBITRARY_HEADER media type attribute.

This structure corresponds to the first 60 bytes of the Type-Specific Data field of the Stream Properties Object, in files where the stream type is ASF_Binary_Media. For more information, see the ASF specification.

The Format Data field of the Type-Specific Data field is contained in the MF_MT_ARBITRARY_FORMAT attribute of the media type.

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Mfapi.h

 

 

Community Additions

ADD
Show:
© 2014 Microsoft