共用方式為


IMediaStreamFilter::ReferenceTimeToStreamTime

 
Microsoft DirectShow 9.0

IMediaStreamFilter::ReferenceTimeToStreamTime

  • Note   This interface is deprecated. New applications should not use it.

The ReferenceTimeToStreamTime method converts a reference time to stream time.

Syntax

  HRESULT ReferenceTimeToStreamTime(
    REFERENCE_TIME *pTime
);

Parameters

pTime

[in, out]  On input, specifies the reference time to convert. On output, contains the equivalent stream time.

Return Values

Returns an HRESULT value. Possible values include the following.

Value Description
S_FALSE The graph does not have a reference clock.
S_OK Success.

Remarks

Stream time equals the current reference time minus the reference time when the graph last started running.

See Also