Commit 64e1e4d6 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

mf/session: Use better failure code for rendering node service requests.

parent 8b6f2762
...@@ -1975,12 +1975,12 @@ static BOOL session_audio_renderer_test_func(IMFMediaSink *sink) ...@@ -1975,12 +1975,12 @@ static BOOL session_audio_renderer_test_func(IMFMediaSink *sink)
static HRESULT session_get_renderer_node_service(struct media_session *session, static HRESULT session_get_renderer_node_service(struct media_session *session,
p_renderer_node_test_func node_test_func, REFGUID service, REFIID riid, void **obj) p_renderer_node_test_func node_test_func, REFGUID service, REFIID riid, void **obj)
{ {
HRESULT hr = E_NOINTERFACE;
IMFStreamSink *stream_sink; IMFStreamSink *stream_sink;
IMFTopologyNode *node; IMFTopologyNode *node;
IMFCollection *nodes; IMFCollection *nodes;
IMFMediaSink *sink; IMFMediaSink *sink;
unsigned int i = 0; unsigned int i = 0;
HRESULT hr = E_FAIL;
if (session->presentation.current_topology) if (session->presentation.current_topology)
{ {
......
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