STDMETHODIMP CBaseSplitterFilter::GetMarkerTime(long MarkerNum, double* pMarkerTime) { CheckPointer(pMarkerTime, E_POINTER); REFERENCE_TIME rt; if(FAILED(ChapGet((int)MarkerNum-1, &rt))) return E_FAIL; *pMarkerTime = (double)rt / 10000000; return S_OK; }
STDMETHODIMP CBaseSplitterFilter::GetMarkerName(long MarkerNum, BSTR* pbstrMarkerName) { return ChapGet((int)MarkerNum - 1, nullptr, pbstrMarkerName); }