[MPlayer-users] ALSA-in memory leak
Dan Taylor
dtaylor at startrac.com
Wed Jul 9 23:36:33 CEST 2008
I have discovered a clue about the memory leak, but do not know where to
proceed.
Using an mplayer snapshot from 2008-06-30, with a card that generates
ALSA PCM data for analog TV, we get a nasty memory leak using AO alsa.
It is much worse with AO null, but vanishes almost entirely with AO pcm
(file=/dev/null). One difference between alsa/null and pcm is that pcm
ALWAYS returns the full length passed to "play()", while the others
nearly always return something less than that.
If I kludge the "fill_audio_out_buffers()" function in mplayer.c to also
assume that all of the data was consumed, then AO alsa and AO null also
have almost no leakage (sound is choppy, of course).
Anyone have any ideas how to proceed?
More information about the MPlayer-users
mailing list