Module: wine Branch: master Commit: dfbb2fc9e0ded9b06147f653de7e878cef3657dd URL: http://source.winehq.org/git/wine.git/?a=commit;h=dfbb2fc9e0ded9b06147f653de...
Author: Dan Hipschman dsh@linux.ucla.edu Date: Wed Apr 9 16:02:40 2008 -0700
qedit: Add a stub for IMediaDet_get_StreamLength.
To get this working by querying the filters for IMediaSeeking and calling GetDuration, we need a little better support from quartz. For now a stub is better than nothing.
---
dlls/qedit/mediadet.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/qedit/mediadet.c b/dlls/qedit/mediadet.c index 0dab032..2cf37f9 100644 --- a/dlls/qedit/mediadet.c +++ b/dlls/qedit/mediadet.c @@ -252,8 +252,8 @@ static HRESULT WINAPI MediaDet_get_StreamTypeB(IMediaDet* iface, BSTR *pVal) static HRESULT WINAPI MediaDet_get_StreamLength(IMediaDet* iface, double *pVal) { MediaDetImpl *This = (MediaDetImpl *)iface; - FIXME("(%p)->(%p): not implemented!\n", This, pVal); - return E_NOTIMPL; + FIXME("(%p): stub!\n", This); + return VFW_E_INVALIDMEDIATYPE; }
static HRESULT WINAPI MediaDet_get_Filename(IMediaDet* iface, BSTR *pVal)