[Bug 696770] Memory leak when processing h.264 field pictures
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Tue Jun 4 10:10:23 PDT 2013
https://bugzilla.gnome.org/show_bug.cgi?id=696770
GStreamer | gst-libav | 1.0.5
--- Comment #9 from Michael Rubinstein <mrubinstein at weather.com> 2013-06-04 17:10:22 UTC ---
I'm attaching my temporary fix. It's a diff from 1.0.7. However, I edited the
diff to remove unrelated changes.
The basic approach is to detect when the decoder processes a frame without
allocating an output buffer. I set a flag when the buffer is allocated and
check it after the decode call.
Before releasing a frame, I, change the reference count.
I don't think my fix ia really correct, but it does handle the normal case.
Hopefully, it helps describe the problem.
It would be nice to combine the two field pictures into a single frame at an
earlier stage, but the h.264 deccoder would need to handle it as well.
--
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