diff options
Diffstat (limited to 'apps/gui')
-rw-r--r-- | apps/gui/wps.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/apps/gui/wps.c b/apps/gui/wps.c index cc6bd60ef5..9236f9f6ea 100644 --- a/apps/gui/wps.c +++ b/apps/gui/wps.c | |||
@@ -770,9 +770,12 @@ long gui_wps_show(void) | |||
770 | -> no additional screen updates needed */ | 770 | -> no additional screen updates needed */ |
771 | else | 771 | else |
772 | #endif | 772 | #endif |
773 | { | 773 | { /* 1 is the minimum timeout which lets other threads run. |
774 | * audio thread (apprently) needs to run before displaying the wps | ||
775 | * or bad things happen with regards to cuesheet | ||
776 | * (probably a race condition, on sh at least) */ | ||
774 | button = get_action(CONTEXT_WPS|ALLOW_SOFTLOCK, | 777 | button = get_action(CONTEXT_WPS|ALLOW_SOFTLOCK, |
775 | restore ? TIMEOUT_NOBLOCK : HZ/5); | 778 | restore ? 1 : HZ/5); |
776 | } | 779 | } |
777 | 780 | ||
778 | /* Exit if audio has stopped playing. This happens e.g. at end of | 781 | /* Exit if audio has stopped playing. This happens e.g. at end of |