다음을 통해 공유


IDMOQualityControl::SetNow (Windows CE 5.0)

Send Feedback

This method specifies the earliest time stamp that the DMO will deliver.

HRESULT SetNow(REFERENCE_TIMErtNow);

Parameters

  • rtNow
    [in] Reference time specifying the earliest time stamp to deliver.

Return Values

Returns an HRESULT value. Possible values include the following.

Value Description
S_OK Success
E_FAIL Failure

Remarks

If quality control is enabled, the DMO discards any samples whose time stamp is less than rtNow. Samples whose time stamp is rtNow or later are processed as efficiently as possible. Depending on the implementation, the DMO might drop some samples to keep pace.

If quality control is disabled, this method has no immediate effect. However, the DMO stores the specified reference time. It uses this value if quality control is enabled at a later time. To enable quality control, call the IDMOQualityControl::SetStatus method.

If incoming samples are not time-stamped, the DMO never performs quality control. The application sets the time stamp in the IMediaObject::ProcessInput method.

Requirements

OS Versions: Windows CE .NET 4.1 and later.
Header: Dmo.h.
Link Library: Dmoguid.lib.

See Also

IDMOQualityControl | IDMOQualityControl::SetStatus | IMediaObject::ProcessInput

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.