[Bug 730995] New: Memory leak with interlaced h264 stream

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri May 30 06:05:35 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=730995
  GStreamer | gst-omx | 1.3.1

           Summary: Memory leak with interlaced h264 stream
    Classification: Platform
           Product: GStreamer
           Version: 1.3.1
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: critical
          Priority: Normal
         Component: gst-omx
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: aurelien.zanelli at parrot.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Following pipeline playin an h264 interlaced stream causes gstomxdec to 'leak'
memory:
gst-launch-1.0 filesrc location=arte_hd-01-extract.ts ! tsdemux ! h264parse !
omxh264dec ! fakesink

The memory leaks occurs because each frame handle by gstomxdec contains a
field. Fields are then given to omx component but the OMX component returns a
complete frame leading gstomxdec to finish one input frame and keep the other.

So, the gstvideodecoder frame list keep growing. It also causes a performance
issue.

I attached the video stream used in the above pipeline. And I wrote a hack
which remove frames from list which have a timestamp less than the frame output
by the omx component. However it may be not the best solution.

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