quartz/vmr9: Show the window only if auto-show is enabled.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
d93137e2e0
commit
4d580796bc
|
@ -482,7 +482,7 @@ static void vmr_start_stream(struct strmbase_renderer *iface)
|
||||||
struct quartz_vmr *filter = impl_from_IBaseFilter(&iface->filter.IBaseFilter_iface);
|
struct quartz_vmr *filter = impl_from_IBaseFilter(&iface->filter.IBaseFilter_iface);
|
||||||
|
|
||||||
IVMRImagePresenter9_StartPresenting(filter->presenter, filter->cookie);
|
IVMRImagePresenter9_StartPresenting(filter->presenter, filter->cookie);
|
||||||
if (filter->window.hwnd)
|
if (filter->window.hwnd && filter->window.AutoShow)
|
||||||
ShowWindow(filter->window.hwnd, SW_SHOW);
|
ShowWindow(filter->window.hwnd, SW_SHOW);
|
||||||
SetEvent(filter->run_event);
|
SetEvent(filter->run_event);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue