summaryrefslogtreecommitdiffstats
path: root/libhb/work.c
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2016-01-19 12:26:35 -0700
committerJohn Stebbins <[email protected]>2016-01-19 12:26:35 -0700
commit2eef7441c3bf670d4392c3cbcf887c77a0354aef (patch)
tree3fa7642cd768cac2f4d166dbf90a5ee56e3e367c /libhb/work.c
parent41e238c5f34d30a7d07c455d0de8334edb35ec90 (diff)
libhb: fix hang during subtitle scan
Diffstat (limited to 'libhb/work.c')
-rw-r--r--libhb/work.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libhb/work.c b/libhb/work.c
index eb71cf806..31e4cad96 100644
--- a/libhb/work.c
+++ b/libhb/work.c
@@ -1878,8 +1878,9 @@ void hb_work_loop( void * _w )
hb_buffer_close( &buf_out );
}
- // Consume data in incoming fifo till job complete so that
- // residual data does not stall the pipeline
+ // Consume data in incoming fifo till job completes so that
+ // residual data does not stall the pipeline. There can be
+ // residual data during point-to-point encoding.
while ((w->die == NULL || !*w->die) &&
!*w->done && w->fifo_in != NULL)
{