On Sun, 11 Dec 2016 16:19:03 +0100 Nicolas George <geo...@nsup.org> wrote:
> Le primidi 21 frimaire, an CCXXV, wm4 a écrit : > > Subtitle streams, font attachments, attached images, and other things > > could also inflate the number of streams, so 1000 seems a bit low. > > As a side note, attachments are presented in the streams' extradata, and > as such loaded immediately. > > A player would have, for each font, one copy in the streams' codecpar, > one copy in the streams codec context for compatibility, and one copy in > the memory of the font rasterizer library. > > We need to change that. > > Regards, > Attachment contents are AVPackets, and thus reference counted (or can be). It's up to a player what to do with that, not libavformat. _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel