[MPlayer-users] bug & fix: GUI, bad filename

fangkun fangkun at server.cool-meeting.com
Sun May 19 16:19:01 CEST 2002


Bug: when open a file using GUI file select dialog, it sometimes returns
illegal filename.

Status: not fixed yet in CVS 20020519

Reason: in function fs_fsFNameList_select_row, varable fsSelectedFile is set
to point a temporary GTK string which might change.

Fix: modify Gui/mplayer/gtk/fs.c as follows:

31a32
> gchar           fsTempFile[1024];
393a395,396
>  strcpy(fsTempFile, fsSelectedFile);
>  fsSelectedFile = fsTempFile;

Wish to help!

                                    FANG Kun
                                    fangkun at server.cool-meeting.com




More information about the MPlayer-users mailing list