[PATCH 2/3] amstream: Implement IAMMultiMediaStream::GetDuration.

Zebediah Figura zfigura at codeweavers.com
Fri Jul 24 10:14:06 CDT 2020


On 7/24/20 1:24 AM, Myah Caron wrote:
> Signed-off-by: Myah Caron <qsniyg at protonmail.com>
> ---
>  dlls/amstream/multimedia.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/dlls/amstream/multimedia.c b/dlls/amstream/multimedia.c
> index 200bd5c4a5..e6b088e432 100644
> --- a/dlls/amstream/multimedia.c
> +++ b/dlls/amstream/multimedia.c
> @@ -177,9 +177,9 @@ static HRESULT WINAPI multimedia_stream_GetDuration(IAMMultiMediaStream *iface,
>  {
>      struct multimedia_stream *This = impl_from_IAMMultiMediaStream(iface);
> 
> -    FIXME("(%p/%p)->(%p) stub!\n", This, iface, pDuration);
> +    TRACE("(%p/%p)->(%p)\n", This, iface, pDuration);
> 
> -    return E_NOTIMPL;
> +    return IMediaSeeking_GetDuration(This->media_seeking, pDuration);
>  }

Can we have tests for this one as well, please?

> 
>  static HRESULT WINAPI multimedia_stream_Seek(IAMMultiMediaStream *iface, STREAM_TIME seek_time)
> --
> 2.27.0
> 
> 
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20200724/9435fb04/attachment-0001.sig>


More information about the wine-devel mailing list