Editar

Compartilhar via


MFPKEY_ASFMEDIASINK_AUTOADJUST_BITRATE property

Specifies whether the ASF media sink automatically adjusts the bit rate.

Data type

PROPVARIANT type (vt)

PROPVARIANT member

VARIANT_BOOL

VT_BOOL

boolVal

Remarks

If the value of this property is VARIANT_TRUE, the ASF media sink automatically adjusts the bit rate of the ASF content in response to the characteristics of the streams being multiplexed.

This property affects how the ASF media sink behaves when a stream overflows the sink's "leaky bucket" parameters:

Value Behavior
VARIANT_TRUE The ASF media sink automatically adjusts the bit rate of the ASF content in response to the characteristics of the streams being multiplexed.
VARIANT_FALSE The ASF media sink uses the stream bit rate value provided by the application.

 

The default value is VARIANT_FALSE.

Set this property when you configure the ASF media sink. The usage depends on which function you call to create the ASF media sink:

Setting this property to VARIANT_TRUE causes the ASF media sink to set the MFASF_MULTIPLEXER_AUTOADJUST_BITRATE flag on the ASF multiplexer. See IMFASFMultiplexer::SetFlags.

For more information about the leaky bucket concept, see the topic "The Leaky Bucket Buffer Model" in the Windows Media Format SDK documentation.

Requirements

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

See also

Media Foundation Properties

MF_ASFSTREAMCONFIG_LEAKYBUCKET1

MF_ASFSTREAMCONFIG_LEAKYBUCKET2