Commit c6b43728 authored by Gijs Vermeulen's avatar Gijs Vermeulen Committed by Alexandre Julliard

amstream: Implement AMMediaStream::JoinFilterGraph.

parent 3572a7f4
......@@ -593,11 +593,11 @@ static HRESULT WINAPI audio_IAMMediaStream_JoinFilter(IAMMediaStream *iface, IMe
static HRESULT WINAPI audio_IAMMediaStream_JoinFilterGraph(IAMMediaStream *iface, IFilterGraph *filtergraph)
{
struct audio_stream *This = impl_from_IAMMediaStream(iface);
struct audio_stream *stream = impl_from_IAMMediaStream(iface);
FIXME("(%p/%p)->(%p) stub!\n", This, iface, filtergraph);
TRACE("stream %p, filtergraph %p.\n", stream, filtergraph);
return S_FALSE;
return S_OK;
}
static const struct IAMMediaStreamVtbl audio_IAMMediaStream_vtbl =
......
......@@ -261,11 +261,11 @@ static HRESULT WINAPI ddraw_IAMMediaStream_JoinFilter(IAMMediaStream *iface, IMe
static HRESULT WINAPI ddraw_IAMMediaStream_JoinFilterGraph(IAMMediaStream *iface, IFilterGraph *filtergraph)
{
struct ddraw_stream *This = impl_from_IAMMediaStream(iface);
struct ddraw_stream *stream = impl_from_IAMMediaStream(iface);
FIXME("(%p/%p)->(%p) stub!\n", This, iface, filtergraph);
TRACE("stream %p, filtergraph %p.\n", stream, filtergraph);
return S_FALSE;
return S_OK;
}
static const struct IAMMediaStreamVtbl ddraw_IAMMediaStream_vtbl =
......
......@@ -4371,7 +4371,7 @@ static void check_ammediastream_join_filter_graph(const MSPID *id)
}
hr = IAMMediaStream_JoinFilterGraph(stream, graph);
todo_wine ok(hr == S_OK, "Got hr %#x.\n", hr);
ok(hr == S_OK, "Got hr %#x.\n", hr);
EXPECT_REF(builder, 4);
EXPECT_REF(graph, 1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment