GNOME Bugzilla – Bug 782519
qtdemux: Fix caps leak in _parse_trak()
Last modified: 2017-05-11 15:29:21 UTC
If upstream pushed moov multiple times during playback such as DASH case, it causes memory leak.
Created attachment 351638 [details] [review] qtdemux: Fix caps leak in _parse_trak()
Review of attachment 351638 [details] [review]: ::: gst/isomp4/qtdemux.c @@ +11573,3 @@ + if (entry->caps) + gst_caps_unref (entry->caps); Shouldn't this have been cleared somewhere when getting the new moov before parsing it? All of the entries and other information from the previous moov.
(In reply to Sebastian Dröge (slomo) from comment #2) > Review of attachment 351638 [details] [review] [review]: > Shouldn't this have been cleared somewhere when getting the new moov before > parsing it? All of the entries and other information from the previous moov. Actually, all the stream specific information can be cleared if we generate stream/entries per moov like bug #684790 :)
Then let's solve it once and for all there :) *** This bug has been marked as a duplicate of bug 684790 ***