quartz: Implement a trivial case of ConvertTimeFormat().

This commit is contained in:
Nikolay Sivov 2015-05-15 19:35:25 +03:00 committed by Alexandre Julliard
parent 4686f3d761
commit 5120fa9090
1 changed files with 10 additions and 2 deletions

View File

@ -2500,8 +2500,16 @@ static HRESULT WINAPI MediaSeeking_ConvertTimeFormat(IMediaSeeking *iface, LONGL
{ {
IFilterGraphImpl *This = impl_from_IMediaSeeking(iface); IFilterGraphImpl *This = impl_from_IMediaSeeking(iface);
FIXME("(%p/%p)->(%p, %p, 0x%s, %p): stub !!!\n", This, iface, pTarget, TRACE("(%p/%p)->(%p, %s, 0x%s, %s)\n", This, iface, pTarget,
pTargetFormat, wine_dbgstr_longlong(Source), pSourceFormat); debugstr_guid(pTargetFormat), wine_dbgstr_longlong(Source), debugstr_guid(pSourceFormat));
if (!pSourceFormat)
pSourceFormat = &This->timeformatseek;
if (IsEqualGUID(pTargetFormat, pSourceFormat))
*pTarget = Source;
else
FIXME("conversion %s->%s not supported\n", debugstr_guid(pSourceFormat), debugstr_guid(pTargetFormat));
return S_OK; return S_OK;
} }