MCPcopy Create free account
hub / github.com/Nevcairiel/LAVFilters / IsDiscontinuity

Method IsDiscontinuity

common/baseclasses/amfilter.cpp:3623–3634  ·  view source on GitHub ↗

returns S_OK if there is a discontinuity in the data (this same is not a continuation of the previous stream of data - there has been a seek).

Source from the content-addressed store, hash-verified

3621// not a continuation of the previous stream of data
3622// - there has been a seek).
3623STDMETHODIMP
3624CMediaSample::IsDiscontinuity(void)
3625{
3626 if (m_dwFlags & Sample_Discontinuity)
3627 {
3628 return S_OK;
3629 }
3630 else
3631 {
3632 return S_FALSE;
3633 }
3634}
3635
3636// set the discontinuity property - TRUE if this sample is not a
3637// continuation, but a new sample after a seek.

Callers 4

ReceiveMethod · 0.45
CopyMethod · 0.45
ShouldDrawSampleNowMethod · 0.45
ReceiveMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected