Mercurial > audlegacy
comparison audacious/playlist.c @ 2063:a3ad15fb0f34 trunk
[svn] - playlist_scan_thread_is_going should not be TRUE if the playlist is
not visible, otherwise spinlocking may occur if on demand metadata
reading is enabled.
author | nenolod |
---|---|
date | Wed, 06 Dec 2006 03:41:04 -0800 |
parents | dbe615def81f |
children | 25308f10b50f |
comparison
equal
deleted
inserted
replaced
2062:409df027cc31 | 2063:a3ad15fb0f34 |
---|---|
2297 } | 2297 } |
2298 } | 2298 } |
2299 PLAYLIST_UNLOCK(); | 2299 PLAYLIST_UNLOCK(); |
2300 } | 2300 } |
2301 } // on_demand | 2301 } // on_demand |
2302 else if (cfg.get_info_on_demand && | |
2303 (!cfg.playlist_visible || cfg.playlist_shaded | |
2304 || !cfg.use_pl_metadata)) | |
2305 { | |
2306 g_mutex_lock(mutex_scan); | |
2307 playlist_get_info_scan_active = FALSE; | |
2308 g_mutex_unlock(mutex_scan); | |
2309 } | |
2302 | 2310 |
2303 if (update_playlistwin) { | 2311 if (update_playlistwin) { |
2304 playlistwin_update_list(); | 2312 playlistwin_update_list(); |
2305 update_playlistwin = FALSE; | 2313 update_playlistwin = FALSE; |
2306 } | 2314 } |