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:
parent
540f2983a9
commit
fb45f9a806
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue