GNOME Bugzilla – Bug 734531
interlace: Unref pad template caps after usage
Last modified: 2014-08-11 06:56:07 UTC
gst_pad_get_pad_template_caps() returns a reference to a caps object that must be released after usage. The attached patch aims to fix this issue.
Created attachment 282987 [details] [review] Proposed patch.
The patch looks correct, but the description is a bit bogus as far as I can tell. What this patch fixes is a double-unref / caps refcounting logic bug, no? commit 7731f3b36ecb2d5d2756c2978e164cf5cc4f8102 Author: Sebastian Rasmussen <sebras@hotmail.com> Date: Sat Aug 9 13:12:14 2014 +0200 interlace: fix caps refcounting tcaps was unrefed when it shouldn't have been unrefed in some cases. https://bugzilla.gnome.org/show_bug.cgi?id=734531