[vlc-devel] [PATCH 2/2] direct3d9: really release IDirect3DDevice9

Hannes Domani ssbssa at yahoo.de
Mon Jun 29 21:11:55 CEST 2015


https://msdn.microsoft.com/en-us/library/windows/desktop/bb205880%28v=vs.85%29.aspx states that IDirect3DSurface9_GetDevice() increases the reference count on the IDirect3DDevice9 interface.

But I'm wondering if this part is actually necessary:
  /* each picture_t holds a ref to the device and release it on Destroy */
  IDirect3DDevice9_AddRef(vd->sys->d3ddev);


Regards
Domani Hannes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-direct3d9-really-release-IDirect3DDevice9.patch
Type: application/octet-stream
Size: 866 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20150629/692428e5/attachment.obj>


More information about the vlc-devel mailing list