Sometimes I get a crash in the MediaPlayerPrivateMediaFoundation destructor when trying to release the custom video presenter member, which already has been released. This is because we have forgotten to call AddRef in the ActivateObject method. According to the documentation in https://msdn.microsoft.com/en-us/library/windows/desktop/ms694292(v=vs.85).aspx, the caller is responsible for releasing the returned object, which means we have to call AddRef.
Created attachment 274590 [details] Patch
Comment on attachment 274590 [details] Patch Clearing flags on attachment: 274590 Committed r198493: <http://trac.webkit.org/changeset/198493>
All reviewed patches have been landed. Closing bug.
Thanks for reviewing :)