winegstreamer: Implement IWMReaderAdvanced::GetStreamSelected().

Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura 2021-11-10 10:41:12 -06:00 committed by Alexandre Julliard
parent a1a51f54dc
commit 72b3cb68a7
1 changed files with 7 additions and 5 deletions

View File

@ -457,12 +457,14 @@ static HRESULT WINAPI WMReaderAdvanced_SetStreamsSelected(IWMReaderAdvanced6 *if
return wm_reader_set_streams_selected(&reader->reader, count, stream_numbers, selections); return wm_reader_set_streams_selected(&reader->reader, count, stream_numbers, selections);
} }
static HRESULT WINAPI WMReaderAdvanced_GetStreamSelected(IWMReaderAdvanced6 *iface, WORD stream_num, static HRESULT WINAPI WMReaderAdvanced_GetStreamSelected(IWMReaderAdvanced6 *iface,
WMT_STREAM_SELECTION *selection) WORD stream_number, WMT_STREAM_SELECTION *selection)
{ {
struct async_reader *This = impl_from_IWMReaderAdvanced6(iface); struct async_reader *reader = impl_from_IWMReaderAdvanced6(iface);
FIXME("(%p)->(%d %p)\n", This, stream_num, selection);
return E_NOTIMPL; TRACE("reader %p, stream_number %u, selection %p.\n", reader, stream_number, selection);
return wm_reader_get_stream_selection(&reader->reader, stream_number, selection);
} }
static HRESULT WINAPI WMReaderAdvanced_SetReceiveSelectionCallbacks(IWMReaderAdvanced6 *iface, BOOL get_callbacks) static HRESULT WINAPI WMReaderAdvanced_SetReceiveSelectionCallbacks(IWMReaderAdvanced6 *iface, BOOL get_callbacks)