[MPlayer-dev-eng] demuxer question

Arpi arpi at thot.banki.hu
Fri May 17 14:02:22 CEST 2002


Hi,

> A related note, do you think it would make mplayer faster if 
> new_demux_packet() wouldn't actually always malloc() new packets, but if it 
> would have a "list" or whatever of demux_packet_t's which it marks free and 
> used ?
> The requested size would have to be checked.

for constant size packets, it may help. but it's rare, only uncompressed and
dv has such thing :)

for variable buffer size, i assume that we cannot beat libc's malloc()
implementation... so it doesn't worth to mess with it.


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu



More information about the MPlayer-dev-eng mailing list