ref_iface_IVDXStreamSource_IsVBR - shekh/VirtualDub2 GitHub Wiki

VirtualDub Plugin SDK 1.2

IVDXStreamSource interface

IVDXStreamSource:: IsVBR

Queries whether a stream has a variable relationship of samples to time.

bool IsVBR();

Thread safety

This method is not thread-safe.

Errors

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

Return value

True if the sample-to-time ratio is variable, or false if it is constant.

Remarks

When true, this implies a non-linear relationship between samples and time; the TimeToPositionVBR() and PositionToTimeVBR() methods give the correct translation.

This is used to support VBR in audio streams. It is ignored for video streams.


Copyright (C) 2007-2012 Avery Lee.

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