"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "dlls/quartz/vmr9.c" between
wine-5.12.tar.xz and wine-5.13.tar.xz

About: Wine is an Open Source implementation of the MS Windows API on top of X, OpenGL, and Unix. Think of Wine as a compatibility layer for running Windows programs. Development release.

vmr9.c  (wine-5.12.tar.xz):vmr9.c  (wine-5.13.tar.xz)
skipping to change at line 480 skipping to change at line 480
if (SUCCEEDED(hr = initialize_device(filter, &info, count))) if (SUCCEEDED(hr = initialize_device(filter, &info, count)))
return hr; return hr;
} }
} }
} }
free(filter->surfaces); free(filter->surfaces);
return VFW_E_TYPE_NOT_ACCEPTED; return VFW_E_TYPE_NOT_ACCEPTED;
} }
static void vmr_init_stream(struct strmbase_renderer *iface)
{
struct quartz_vmr *filter = impl_from_IBaseFilter(&iface->filter.IBaseFilter
_iface);
if (filter->window.hwnd && filter->window.AutoShow)
ShowWindow(filter->window.hwnd, SW_SHOW);
}
static void vmr_start_stream(struct strmbase_renderer *iface) 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)
ShowWindow(filter->window.hwnd, SW_SHOW);
SetEvent(filter->run_event); SetEvent(filter->run_event);
} }
static void vmr_stop_stream(struct strmbase_renderer *iface) static void vmr_stop_stream(struct strmbase_renderer *iface)
{ {
struct quartz_vmr *This = impl_from_IBaseFilter(&iface->filter.IBaseFilter_i face); struct quartz_vmr *This = impl_from_IBaseFilter(&iface->filter.IBaseFilter_i face);
TRACE("(%p)\n", This); TRACE("(%p)\n", This);
if (This->renderer.filter.state == State_Running) if (This->renderer.filter.state == State_Running)
skipping to change at line 662 skipping to change at line 668
return E_NOINTERFACE; return E_NOINTERFACE;
IUnknown_AddRef((IUnknown *)*out); IUnknown_AddRef((IUnknown *)*out);
return S_OK; return S_OK;
} }
static const struct strmbase_renderer_ops renderer_ops = static const struct strmbase_renderer_ops renderer_ops =
{ {
.pfnCheckMediaType = VMR9_CheckMediaType, .pfnCheckMediaType = VMR9_CheckMediaType,
.pfnDoRenderSample = VMR9_DoRenderSample, .pfnDoRenderSample = VMR9_DoRenderSample,
.renderer_init_stream = vmr_init_stream,
.renderer_start_stream = vmr_start_stream, .renderer_start_stream = vmr_start_stream,
.renderer_stop_stream = vmr_stop_stream, .renderer_stop_stream = vmr_stop_stream,
.pfnShouldDrawSampleNow = VMR9_ShouldDrawSampleNow, .pfnShouldDrawSampleNow = VMR9_ShouldDrawSampleNow,
.renderer_connect = vmr_connect, .renderer_connect = vmr_connect,
.pfnBreakConnect = VMR9_BreakConnect, .pfnBreakConnect = VMR9_BreakConnect,
.renderer_destroy = vmr_destroy, .renderer_destroy = vmr_destroy,
.renderer_query_interface = vmr_query_interface, .renderer_query_interface = vmr_query_interface,
.renderer_pin_query_interface = vmr_pin_query_interface, .renderer_pin_query_interface = vmr_pin_query_interface,
}; };
 End of changes. 3 change blocks. 
2 lines changed or deleted 10 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)