共用方式為


AVDecMmcssClass Property

 
Microsoft DirectShow 9.0

AVDecMmcssClass Property

Specifies the Multimedia Class Scheduler Service (MMCSS) class for the decoding thread.

Property GUID

CODECAPI_AVDecMmcssClass

Data Type

BSTR (VT_BSTR)

Possible Values

The value of this property is the name of the MMCSS class.

Remarks

This property is read/write.

MMCSS enables applications to ensure that time-sensitive processing has prioritized access to CPU resources. It works by elevating registered threads to higher thread priorities while periodically decreasing their priorities to yield time to other processes.

The recommended value for audio decoders is "Audio," and the recommended value for video decoders is "Playback."

If the MMCSS service is not available or the specified MMCSS class does not exist, setting the property has no effect.

Requirements

Header: Include uuids.h.

See Also