IltmmWMStreamConfig::put_Quality

Summary

Sets the quality setting for the video stream.

Syntax

#include "ltmm.h"

Language Syntax
C HRESULT IltmmWMStreamConfig_put_Quality(pStreamConfig, newVal)
C++ HRESULT put_Quality(newVal)

Parameters

IltmmWMStreamConfig *pStreamConfig

Pointer to an IltmmWMStreamConfig interface.

long newVal

The new quality setting to set for the video stream.

Returns

Value Meaning
S_OK The function was successful.
<> S_OK An error occurred. Refer to the Error Codes or the HRESULT error codes in the DirectShow documentation.

Comments

Expected values range from 0 to 100, where zero denotes maximum frame rate and 100 denotes maximum quality.

For more information, refer to the Microsoft documentation for IWMVideoMediaProps::SetQuality.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Functions

Topics

Example

Language Example
C IltmmWMProfile::AddStream
C++ IltmmWMProfile::AddStream
Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Multimedia C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.