Maarten Lankhorst : quartz: Implement graph MediaSeeking GetPositions.
Alexandre Julliard
julliard at winehq.org
Tue Apr 1 16:44:14 CDT 2008
Module: wine
Branch: master
Commit: c56389ea3cd4ab211c5770b01530d7bd9b86df18
URL: http://source.winehq.org/git/wine.git/?a=commit;h=c56389ea3cd4ab211c5770b01530d7bd9b86df18
Author: Maarten Lankhorst <m.b.lankhorst at gmail.com>
Date: Fri Mar 28 15:16:58 2008 -0700
quartz: Implement graph MediaSeeking GetPositions.
---
dlls/quartz/filtergraph.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/dlls/quartz/filtergraph.c b/dlls/quartz/filtergraph.c
index 4371a36..4f8eebb 100644
--- a/dlls/quartz/filtergraph.c
+++ b/dlls/quartz/filtergraph.c
@@ -2025,10 +2025,14 @@ static HRESULT WINAPI MediaSeeking_GetPositions(IMediaSeeking *iface,
LONGLONG *pCurrent,
LONGLONG *pStop) {
ICOM_THIS_MULTI(IFilterGraphImpl, IMediaSeeking_vtbl, iface);
+ HRESULT hr;
- FIXME("(%p/%p)->(%p, %p): stub !!!\n", This, iface, pCurrent, pStop);
+ TRACE("(%p/%p)->(%p, %p)\n", This, iface, pCurrent, pStop);
+ hr = IMediaSeeking_GetCurrentPosition(iface, pCurrent);
+ if (SUCCEEDED(hr))
+ hr = IMediaSeeking_GetStopPosition(iface, pStop);
- return S_OK;
+ return hr;
}
static HRESULT WINAPI MediaSeeking_GetAvailable(IMediaSeeking *iface,
More information about the wine-cvs
mailing list