[Bug 735795] imagefreeze: missing gst_caps_unref

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Sep 1 04:02:46 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=735795
  GStreamer | gst-plugins-good | unspecified

--- Comment #6 from Vineeth <vineeth.tm at samsung.com> 2014-09-01 11:02:39 UTC ---
In that case,
we should replace 
  if (filter) {
    filter = gst_caps_copy (filter);
    gst_image_freeze_remove_fps (self, filter);
  }

with 

  if (filter) {
    filter = gst_caps_ref (filter);
    gst_image_freeze_remove_fps (self, filter);
  }
??

since as per my understanding gst_caps_copy will unreference the argument being
passed to it.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list