GNOME Bugzilla – Bug 748617
qtdemux: fix buffer leak on EOS with stop position in push mode
Last modified: 2015-04-30 12:38:33 UTC
.
Created attachment 302545 [details] [review] qtdemux: fix buffer leak The buffer was only consumed in the 'else' branch (by calling gst_qtdemux_decorate_and_push_buffer()).
Created attachment 302639 [details] [review] qtdemux: fix buffer leak on eos in push mode Your fix seems correct, but I think something like this would be better. Could you test it?
Yep your patch seems to fix the leak as well. For the record it can be reproduced using the validate.http.playback.seek_with_stop.raw_h264_1_mp4 scenario.
Thanks, I'll push that then, hope you don't mind :) commit 377c8405aaf66fa4055f1a387a21c9e1ea502838 Author: Tim-Philipp Müller <tim@centricular.com> Date: Thu Apr 30 12:13:59 2015 +0100 qtdemux: fix buffer leak on eos in push mode Based on patch by Guillaume Desmottes. scenario: validate.http.playback.seek_with_stop.raw_h264_1_mp4 https://bugzilla.gnome.org/show_bug.cgi?id=748617