From fb45f9a8061271acad445af3037496156643569e Mon Sep 17 00:00:00 2001 From: Zebediah Figura Date: Wed, 19 Feb 2020 20:44:53 -0600 Subject: [PATCH] strmbase/renderer: Return S_FALSE when pausing the stream if approprate. Signed-off-by: Zebediah Figura Signed-off-by: Alexandre Julliard --- dlls/strmbase/renderer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/strmbase/renderer.c b/dlls/strmbase/renderer.c index 1f2154393d9..6b5a5e80e3e 100644 --- a/dlls/strmbase/renderer.c +++ b/dlls/strmbase/renderer.c @@ -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)