[Bug 645858] New: [flvdemux] memory leak when demuxing infinite FLV files
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Sun Mar 27 12:43:01 PDT 2011
https://bugzilla.gnome.org/show_bug.cgi?id=645858
GStreamer | gst-plugins-good | git
Summary: [flvdemux] memory leak when demuxing infinite FLV
files
Classification: Desktop
Product: GStreamer
Version: git
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-plugins-good
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)
View: https://bugzilla.gnome.org/attachment.cgi?id=184382
Review: https://bugzilla.gnome.org/review?bug=645858&attachment=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
mailing list