summaryrefslogtreecommitdiff
path: root/softhddev.c
diff options
context:
space:
mode:
Diffstat (limited to 'softhddev.c')
-rw-r--r--softhddev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/softhddev.c b/softhddev.c
index 1c041d4..28f72c9 100644
--- a/softhddev.c
+++ b/softhddev.c
@@ -2203,8 +2203,8 @@ int Poll(int timeout)
int t;
// one buffer is full
- full = AudioFreeBytes() >= AUDIO_MIN_BUFFER_FREE
- || atomic_read(&VideoPacketsFilled) < VIDEO_PACKET_MAX - 3;
+ full = AudioFreeBytes() < AUDIO_MIN_BUFFER_FREE
+ || atomic_read(&VideoPacketsFilled) > VIDEO_PACKET_MAX - 3;
if (!full || !timeout) {
return !full;