Fixed playlist control corruption on dircache systems
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9834 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
290801fe0b
commit
fede7ff6f2
1 changed files with 4 additions and 0 deletions
|
@ -1212,7 +1212,11 @@ static void playlist_thread(void)
|
|||
)
|
||||
{
|
||||
if (playlist->num_cached > 0)
|
||||
{
|
||||
mutex_lock(&playlist->control_mutex);
|
||||
flush_cached_control(playlist);
|
||||
mutex_unlock(&playlist->control_mutex);
|
||||
}
|
||||
|
||||
sync_control(playlist, true);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue