[Bug 645858] New: [flvdemux] memory leak when demuxing infinite FLV files
bugzilla at gnome.org
Sun Mar 27 12:43:01 PDT 2011
GStreamer | gst-plugins-good | git
Summary: [flvdemux] memory leak when demuxing infinite FLV
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: wulczer at wulczer.org
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME target: ---
GNOME version: ---
Created an attachment (id=184382)
patch to fix the issue
This will cause flvdemux to grow infinitely in memory:
gst-launch videotestsrc ! ffenc_flv ! flvmux ! flvdemux ! fakesink
The problem is that it tries to build an index if it hasn't found one in the
metadata tag and with infinite (for instance streamed) FLV files it keeps on
building the index.
A solution would be to check if upstream handles seeking and skip building the
index if it doesn't. Patch to that effect attached. It's based on how baseparse
checks for upstream_seekable (actually, it's mostly copy/paste from baseparse).
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