Grabber::getGraphStartReferenceTime Method

This method retrieves the reference time at which the image stream (the filter graph) was started.
Syntax:
bool getGraphStartReferenceTime(REFERENCE_TIME& GraphStart) const;
Parameter Description
GraphStart

Specifies a REFERENCE_TIME variable that will receive the reference time.

Return value:

true on success, false otherwise.

Remarks:

The returned value in GraphStart specifies the time in 100 nanosecond (or 1/10000 millisecond) resolution. The resolution depends on the reference clock used internally by DirectShow (but it is mostly equivalent to QueryPerformanceCounter).

If no reference clock is available, this method fails.

See also: Grabber, Grabber::getCurReferenceTime

<< Grabber