Commit 2a4ec7da authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

winegstreamer: Use IWMSyncReader2_GetOutputCount in the async reader.

parent 0f6f105c
...@@ -496,10 +496,7 @@ static HRESULT WINAPI WMReader_GetOutputCount(IWMReader *iface, DWORD *count) ...@@ -496,10 +496,7 @@ static HRESULT WINAPI WMReader_GetOutputCount(IWMReader *iface, DWORD *count)
TRACE("reader %p, count %p.\n", reader, count); TRACE("reader %p, count %p.\n", reader, count);
EnterCriticalSection(&reader->wm_reader->cs); return IWMSyncReader2_GetOutputCount(reader->reader, count);
*count = reader->wm_reader->stream_count;
LeaveCriticalSection(&reader->wm_reader->cs);
return S_OK;
} }
static HRESULT WINAPI WMReader_GetOutputProps(IWMReader *iface, DWORD output, IWMOutputMediaProps **props) static HRESULT WINAPI WMReader_GetOutputProps(IWMReader *iface, DWORD output, IWMOutputMediaProps **props)
......
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