[Bug 786740] New: appsink: should not keep a ref on the preroll buffer if belongs to a pool

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Aug 24 09:34:54 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=786740

            Bug ID: 786740
           Summary: appsink: should not keep a ref on the preroll buffer
                    if belongs to a pool
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: julien.isorce at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 358309
  --> https://bugzilla.gnome.org/attachment.cgi?id=358309&action=edit
appsink: do a deep copy of the preroll buffer if it belongs to a pool

Otherwise the buffer pool will never re-use this buffer. Which is a problem if
it has a limited number of buffers.

According to appsink's doc the preroll buffer remains available to the
application even after EOS.

Do a deep copy instead.

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