summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2016-05-19 13:45:39 -0600
committerJohn Stebbins <[email protected]>2016-05-21 09:01:05 -0600
commit879a512e2b58b73171b8ee542470c722f0b60647 (patch)
tree1aea772de7437d8db1c9bb8e99260ff99200f61a
parent96b75f5d3402a6c44a99daaec68cae2951bd7d6d (diff)
sync: fill queues completely
essentially an off-by-one error. OutputBuffer had to wait for one more buffer before any output was performed after the queue should have already been filled to it's minimum levels.
-rw-r--r--libhb/sync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/sync.c b/libhb/sync.c
index 5d67a790b..48464d834 100644
--- a/libhb/sync.c
+++ b/libhb/sync.c
@@ -207,7 +207,7 @@ static int fillQueues( sync_common_t * common )
{
abort = 1;
}
- if (hb_list_count(stream->in_queue) < stream->min_len)
+ if (hb_list_count(stream->in_queue) <= stream->min_len)
{
wait = 1;
}