# HG changeset patch # User yaz # Date 1158381391 25200 # Node ID c7c1e346bb55c0f14762f8092254230d8d8fc3c7 # Parent 43ae2a1bfdee69e47c33c7bc7952b5b48acaa595 [svn] - no more busy loop if a file in playlist disappears. diff -r 43ae2a1bfdee -r c7c1e346bb55 ChangeLog --- a/ChangeLog Fri Sep 15 20:21:35 2006 -0700 +++ b/ChangeLog Fri Sep 15 21:36:31 2006 -0700 @@ -1,3 +1,17 @@ +2006-09-16 03:21:35 +0000 Yoshiki Yazawa + revision [2357] + improvement of filepopup: + - now filepopup respects aspect ratio of each image. + - it caches scaled image while the same path is being referred. + - its image size and delay until coming up is configurable. (no GUI currently.) + + + Changes: Modified: + +5 -1 trunk/audacious/main.c + +2 -0 trunk/audacious/main.h + +51 -13 trunk/audacious/ui_fileinfo.c + + 2006-09-16 03:10:47 +0000 William Pitcock revision [2355] - actually on second thought, i don't see the point in this diff -r 43ae2a1bfdee -r c7c1e346bb55 audacious/playlist.c --- a/audacious/playlist.c Fri Sep 15 20:21:35 2006 -0700 +++ b/audacious/playlist.c Fri Sep 15 21:36:31 2006 -0700 @@ -170,10 +170,15 @@ playlist_entry_get_info(PlaylistEntry * entry) { TitleInput *tuple; - time_t modtime = playlist_get_mtime(entry->filename); + time_t modtime; g_return_val_if_fail(entry != NULL, FALSE); + modtime = playlist_get_mtime(entry->filename); + + if (modtime == 0) // maybe file not exist + return FALSE; + if (entry->decoder == NULL) entry->decoder = input_check_file(entry->filename, FALSE);