[MPlayer-dev-eng] mga + playlist broken

Arpi arpi at thot.banki.hu
Sun Apr 7 03:09:48 CEST 2002


Hi,

> right now, playing multiple files with vo mga (or xmga i would assume)
> is entirely broken. after the first file, mga preinit fails with
> device busy. a quick investigation shows that mplayer is not leaving
> the device after the first file, but it *is* leaving an old mmap in
> place which keeps the device busy.

cannot reproduce

mplayer -vo mga *
works fine, playing 17 files, mpg and avi (divx 3,4)...

> would someone like to fix this properly, or is it ok if i just commit
> a temporary workaround that makes mplayer never close the device and
> keep using the same file descriptor if vo mga is needed again?

i can't see what could be the problem for you.
it opens the device at preinit() and close at uninit()

maybe second mmap() can fail(), when config(0 is called more than once.


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