Mercurial > mplayer.hg
changeset 34127:98f6d11e2ff3
Revise comment on filename conversion in the Wine port.
Explain why the conversion is necessary.
author | ib |
---|---|
date | Thu, 20 Oct 2011 10:41:31 +0000 |
parents | 72624e80fbce |
children | 3a0badbaab9c |
files | gui/win32/interface.c |
diffstat | 1 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/gui/win32/interface.c Tue Oct 18 12:45:24 2011 +0000 +++ b/gui/win32/interface.c Thu Oct 20 10:41:31 2011 +0000 @@ -380,8 +380,11 @@ filename = guiInfo.Filename; #ifdef __WINE__ - // if filename is in Windows format, convert it - // so that MPlayer will find it in the Linux filesystem + // When the GUI receives the files to be played in guiPlaylistInitialize() + // and guiPlaylistAdd(), it calls import_file_into_gui() where the call of + // Wine's GetFullPathName() converts each file name into the Windows style + // (C:\path\to\file), which needs to be reconverted for MPlayer, so that + // it will find the filename in the Linux filesystem. filename = unix_name(filename); #endif guiInfo.StreamType = type;