GNOME Bugzilla – Bug 603983
gstdshowvideosink leaking DirectShow objects
Last modified: 2009-12-07 18:35:24 UTC
Created attachment 149255 [details] Fixed version of the header. gstreamer/gst-plugins-bad/tree/sys/dshowvideosink/dshowvideosink.h should declare a virtual destructor on the RendererSupport class, otherwise the destructors of the derived render support objects will not be called. Fixed header attached.
Ugh, I hate C++. Thanks for the patch - committed it to trunk. For future reference: please provide changes in patch format, see http://gstreamer.freedesktop.org/wiki/SubmittingPatches
Also I noticed after pushing your patch that it had a mistake - RenderSupport rather than RendererSupport. Patches that you've actually tested are much more helpful than ones that haven't been tested.