ref_iface_IVDXVideoSource_GetSampleBytePosition - shekh/VirtualDub2 GitHub Wiki

VirtualDub Plugin SDK 1.2

IVDXVideoSource interface

IVDXVideoSource:: GetSampleBytePosition

Returns the approximate starting byte position of the sample in the underlying storage medium.

sint64 GetSampleBytePosition(sint64 sample_num);

Parameters

sample_num Sample to query.

Thread safety

This method is not thread-safe.

Errors

Errors may not be returned from this function (see SetError()).

Return value

Starting byte position of the sample data, or -1 if the byte position is not available.

Remarks

This is used by the UI when the timeline display is customized to display the position of samples with the %B formatting specifier. It is OK if an implementation returns -1 for all samples, in which case N/A is displayed.


Copyright (C) 2007-2012 Avery Lee.

⚠️ **GitHub.com Fallback** ⚠️