From da9886e9f10388cb459d33a5419abd310e4211ca Mon Sep 17 00:00:00 2001 From: Johns Date: Fri, 8 Jun 2012 15:27:42 +0200 Subject: Fix bug: dvd plugin times out. Readme update. --- softhddev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'softhddev.c') 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; -- cgit v1.2.3