MF_DEVICESTREAM_INDEPENDENT_IMAGE_STREAM attribute

Specifies whether the image stream on a video capture source is independent of the video stream.

Data type

BOOL stored as UINT32

Remarks

Some USB video cameras expose a stream that produces still images. In some cameras, the image stream simply returns the next frame from the video stream. In other cameras, the image stream functions independently of the video stream. If the camera has an independent image stream, the media source for the capture device sets this attribute to TRUE on the image stream.

To get this attribute, do the following:

  1. Query the media source for the IMFMediaSourceEx interface.
  2. Call IMFMediaSourceEx::GetStreamAttributes to get an IMFAttributes pointer for the stream.
  3. Call IMFAttributes::GetUINT32 to get the attribute.

This attribute applies only when the MF_DEVICESTREAM_IMAGE_STREAM attribute is TRUE.

Requirements

Requirement Value
Minimum supported client
Windows 8 [desktop apps only]
Minimum supported server
Windows Server 2012 [desktop apps only]
Header
Mfidl.h

See also

Alphabetical List of Media Foundation Attributes