[Bug 707914] New: gst_buffer_unref() not required for gst_sample_get_buffer()

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Sep 11 07:49:29 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=707914
  GStreamer | gst-editing-services | git

           Summary: gst_buffer_unref() not required for
                    gst_sample_get_buffer()
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-editing-services
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: kishore.arepalli at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


diff --git a/ges/ges-pipeline.c b/ges/ges-pipeline.c
index a6d84fd..bfd8dd3 100644
--- a/ges/ges-pipeline.c
+++ b/ges/ges-pipeline.c
@@ -1102,7 +1102,6 @@ ges_pipeline_save_thumbnail (GESPipeline * self, int
width, int

   gst_caps_unref (caps);
   gst_buffer_unmap (b, &map_info);
-  gst_buffer_unref (b);
   gst_sample_unref (sample);

   return res;

-- 
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