[Bug 711847] New: vtenc: huge memory leaks

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Nov 11 06:32:39 PST 2013


https://bugzilla.gnome.org/show_bug.cgi?id=711847
  GStreamer | gst-plugins-bad | git

           Summary: vtenc: huge memory leaks
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Mac OS
            Status: UNCONFIRMED
          Severity: major
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: matthieu.bouron at collabora.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Created an attachment (id=259564)
 --> (https://bugzilla.gnome.org/attachment.cgi?id=259564)
test_cvbuffer.m

vtenc has huge memory leaks on OSX 10.9 (and probably on 10.8).
This is due to the fact that the callback provided to
CVPixelBufferCreateWithPlanarBytes is never called even if the CVPixelBufferRef
is released.

To reproduce the issue (tested on OSX 10.9):
* gst-launch-1.0 videotestsrc ! vtenc_h264 ! fakesink
* watch your memory explode

The behaviour of the CVPixelBufferRef API can also be reproduced with the
attached sample code.

Note that CVPixelBufferCreateWithBytes works and calls its callback when
released.

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