Try to recover from a codec failure by restarting playback

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9608 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Brandon Low 2006-04-11 13:21:51 +00:00
parent afb64a481b
commit 6bd1f143fa

View file

@ -1983,7 +1983,7 @@ void codec_thread(void)
yield(); yield();
/* This must be set to prevent an infinite loop */ /* This must be set to prevent an infinite loop */
ci.stop_codec = true; ci.stop_codec = true;
queue_post(&codec_queue, Q_AUDIO_STOP, 0); queue_post(&codec_queue, Q_AUDIO_PLAY, 0);
break ; break ;
} }