From dfbb2fc9e0ded9b06147f653de7e878cef3657dd Mon Sep 17 00:00:00 2001 From: Dan Hipschman Date: Wed, 9 Apr 2008 16:02:40 -0700 Subject: [PATCH] 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 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/qedit/mediadet.c b/dlls/qedit/mediadet.c index 0dab0320aef..2cf37f96a88 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)