# HG changeset patch # User ib # Date 1319107291 0 # Node ID 98f6d11e2ff3bd5d16c5072fa003c221405a52c0 # Parent 72624e80fbce90aa4ac510ec463e7c8c5f32a3eb Revise comment on filename conversion in the Wine port. Explain why the conversion is necessary. diff -r 72624e80fbce -r 98f6d11e2ff3 gui/win32/interface.c --- 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;