strmbase/renderer: Return S_FALSE when pausing the stream if approprate.

Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura 2020-02-19 20:44:53 -06:00 committed by Alexandre Julliard
parent 540f2983a9
commit fb45f9a806
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ static HRESULT renderer_init_stream(struct strmbase_filter *iface)
if (filter->pFuncsTable->renderer_init_stream)
filter->pFuncsTable->renderer_init_stream(filter);
return S_OK;
return filter->sink.pin.peer ? S_FALSE : S_OK;
}
static HRESULT renderer_start_stream(struct strmbase_filter *iface, REFERENCE_TIME start)