[3/3] qedit: Add a stub for IMediaDet_get_StreamLength.

Dan Hipschman dsh at linux.ucla.edu
Wed Apr 9 18:02:40 CDT 2008


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)



More information about the wine-patches mailing list