Mercurial > mplayer.hg
changeset 1891:ec11652458ea
some temporary debug printfs
author | arpi |
---|---|
date | Thu, 13 Sep 2001 19:50:06 +0000 |
parents | d7b967b55902 |
children | 70dbd25c128c |
files | Gui/mplayer/gtk/fs.h Gui/mplayer/psignal.c |
diffstat | 2 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Gui/mplayer/gtk/fs.h Thu Sep 13 07:28:11 2001 +0000 +++ b/Gui/mplayer/gtk/fs.h Thu Sep 13 19:50:06 2001 +0000 @@ -231,6 +231,7 @@ { case 1: fsSelectedDirectory=(unsigned char *)get_current_dir_name(); + printf("[gtk-fs] 1-fsSelectedFile: %s\n",fsSelectedFile); #ifdef DEBUG dbprintf( 1,"[gtk-fs] fsSelectedFile: %s\n",fsSelectedFile ); #endif @@ -238,6 +239,7 @@ case 2: str=gtk_entry_get_text( GTK_ENTRY( fsComboEntry2 ) ); fsSelectedFile=str; + printf("[gtk-fs] 2-fsSelectedFile: '%s' \n",fsSelectedFile); #ifdef DEBUG dbprintf( 1,"[gtk-fs] fsSelectedFile: %s\n",fsSelectedFile ); #endif @@ -253,11 +255,14 @@ break; } } + printf("[gtk-fs-xxx] fsSelectedFile: '%s' \n",fsSelectedFile); + printf("[gtk-fs-xxx] fsSelectedDirectory: '%s' \n",fsSelectedDirectory); break; } strcpy( gtkShMem->fs.dir,fsSelectedDirectory ); -printf( "----gtk---> filname: %s\n",fsSelectedFile ); strcpy( gtkShMem->fs.filename,fsSelectedFile ); +printf( "----gtk---> directory: %s\n",fsSelectedDirectory ); +printf( "----gtk---> filename: %s\n",fsSelectedFile ); item=fsTopList_items; while( item ) {
--- a/Gui/mplayer/psignal.c Thu Sep 13 07:28:11 2001 +0000 +++ b/Gui/mplayer/psignal.c Thu Sep 13 19:50:06 2001 +0000 @@ -153,6 +153,8 @@ break; case evSkinBrowser: mplShMem->SkinChange=1; break; case evFileLoaded: + printf("*** gtkShMem->fs.dir == '%s' \n",gtkShMem->fs.dir); + printf("*** gtkShMem->fs.filename == '%s' \n",gtkShMem->fs.filename); strcpy( mplShMem->Filename,gtkShMem->fs.dir ); strcat( mplShMem->Filename,"/" ); strcat( mplShMem->Filename,gtkShMem->fs.filename );