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).
| 3621 | // not a continuation of the previous stream of data |
| 3622 | // - there has been a seek). |
| 3623 | STDMETHODIMP |
| 3624 | CMediaSample::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. |
no outgoing calls
no test coverage detected