[MPlayer-users] bug parsing -nogui command line option?

Chuck Crisler charles.crisler at comcast.net
Sat Feb 28 00:45:29 CET 2009


I am working with the January 29, 2009 snapshot of mplayer. I ran
configure with --enable-debug=3. I am using FC10, 32 bit.

I am using mplayer from the cmd line to learn the options so I can drive
it from an application. I need to do my own rendering so I am working
with the -vo x11 option.

Initially my first 2 options were -nogui -vo x11. With that pair I got
an error message that the -nogui option must be the first option, which
it was. Also, the parsing of the -vo option seemed to fail and it
rendered with xv rather than shared memory. After stepping though
hundreds of parsing options looking for the -nogui, I decided to remove
it since I was really interested in the -vo processing. When I did that
the -vo option was processed correctly and the video output used the
shared memory option.

Hence, I believe that there is/was a bug in the -nogui parsing. I would
try to fix it (or at least isolate it better) myself, but that code is
rather 'thick'. However, it is remarkably few lines to parse and set so
many options. It seems quite well designed!

Thank you for mplayer!

Chuck Crisler




More information about the MPlayer-users mailing list