[MPlayer-users] Does this seem like an mplayer bug?

Tom Horsley horsley1953 at gmail.com
Mon Aug 19 14:41:51 CEST 2013


I finally tracked down a mysterious bug this weekend, which turns
out to be triggered by mplayer when run with no $DISPLAY like
so:

unset DISPLAY
mplayer -identify -frames 0 trunc.mpg

My GUI display disappears and is replaced with the contents
of the VT1 terminal leftover from before X started. This
happened when it opened /dev/fb0 and did some ioctl operations.

It is easily fixed by adding the -vo null option, but it seems like
mplayer might not be cleaning up after itself by leaving
the framebuffer switched like that? (Or, alternately like
saying -frames 0 should imply -vo null).

Vast amounts of detail on this can be found here:

http://home.comcast.net/~tomhorsley/game/heisenbug.html

The mplayer version involved is from the rpmfusion fedora 19
repos.


More information about the MPlayer-users mailing list