[Mplayer-advusers] [BUG] OSD menu tries to play symlinks to directories

Diego Biurrun diego at biurrun.de
Mon Feb 3 10:12:14 CET 2003


Sebastian Kapfer writes:
 > The default OSD menu has an "Open..." command which allows me to select
 > a movie to play. Unfortunately, the directory scanner doesn't check for
 > symlinked directories. If the user chooses a symlink-to-directory,
 > mplayer tries to "play" the target directory, which of course does not
 > work.
 > 
 > Proposed micro-patch: Change libmenu/menu_filesel.c, line 97; replace
 > the call to lstat by a call to stat. Works for me, and seems the logical
 > choice.

You should post your idea to mplayer-dev-eng, where all the developers
can comment on it.

Diego


More information about the MPlayer-advusers mailing list