IQualProp::get_DevSyncOffset

 
Microsoft DirectShow 9.0

IQualProp::get_DevSyncOffset

The get_DevSyncOffset method retrieves the average time difference between when the video frames should have been displayed and when they actually were. This method is the same as the IQualProp::get_AvgSyncOffset method except that the value returned is calculated as a standard deviation rather than as a simple average.

Syntax

  HRESULT get_DevSyncOffset(
  int *piDev
);

Parameters

piDev

Pointer to a value denoting the accuracy of the video frames displayed.

Return Value

Returns an HRESULT value.

Remarks

When playing video from networks, the presentation can often be disrupted by network glitches. For this reason, expressing the accuracy of video frames by a simple average is inappropriate. Looking at a standard deviation provides a better idea of the overall accuracy.

Requirements

Header: Declared in Amvideo.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also