diff options
Diffstat (limited to 'libhb/fifo.c')
-rw-r--r-- | libhb/fifo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libhb/fifo.c b/libhb/fifo.c index cd348c863..fcb7b8366 100644 --- a/libhb/fifo.c +++ b/libhb/fifo.c @@ -453,7 +453,7 @@ void hb_fifo_push_wait( hb_fifo_t * f, hb_buffer_t * b ) f->size += 1; f->last = f->last->next; } - if( f->wait_empty && f->size >= f->thresh ) + if( f->wait_empty && f->size >= 1 ) { f->wait_empty = 0; hb_cond_signal( f->cond_empty ); @@ -485,7 +485,7 @@ void hb_fifo_push( hb_fifo_t * f, hb_buffer_t * b ) f->size += 1; f->last = f->last->next; } - if( f->wait_empty && f->size >= f->thresh ) + if( f->wait_empty && f->size >= 1 ) { f->wait_empty = 0; hb_cond_signal( f->cond_empty ); |