59 if (!sample || !clock)
63 MFTIME hnsTimeNow = 0;
64 MFTIME hnsSystemTime = 0;
65 MFTIME hnsSampleStart = 0;
66 MFTIME hnsSampleDuration = 0;
68 hr = clock->GetCorrelatedTime(0, &hnsTimeNow, &hnsSystemTime);
71 hr = sample->GetSampleTime(&hnsSampleStart);
74 hr = sample->GetSampleDuration(&hnsSampleDuration);
77 if (hnsSampleStart + hnsSampleDuration < hnsTimeNow)