summaryrefslogtreecommitdiffstats
path: root/libhb/work.c
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2016-05-18 10:35:13 -0600
committerJohn Stebbins <[email protected]>2016-05-18 10:35:13 -0600
commit05fff65c1434be8109dae6858cdfc100689e28ae (patch)
tree7dfa0554d3fdbbe2aab7ea38f744c411c349ac8a /libhb/work.c
parentd6bb5780820bc7e2dd4d8603f05fc27c56b6f2ef (diff)
work: add comments
Diffstat (limited to 'libhb/work.c')
-rw-r--r--libhb/work.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libhb/work.c b/libhb/work.c
index 2ac7326c0..858f69940 100644
--- a/libhb/work.c
+++ b/libhb/work.c
@@ -1496,6 +1496,7 @@ static void do_job(hb_job_t *job)
job->fifo_raw = hb_fifo_init( FIFO_MINI, FIFO_MINI_WAKE );
if (!job->indepth_scan)
{
+ // When doing subtitle indepth scan, the pipeline ends at sync
job->fifo_sync = hb_fifo_init( FIFO_MINI, FIFO_MINI_WAKE );
job->fifo_render = hb_fifo_init( FIFO_MINI, FIFO_MINI_WAKE );
job->fifo_mpeg4 = hb_fifo_init( FIFO_MINI, FIFO_MINI_WAKE );
@@ -1508,6 +1509,7 @@ static void do_job(hb_job_t *job)
job->fifo_raw = hb_fifo_init( FIFO_SMALL, FIFO_SMALL_WAKE );
if (!job->indepth_scan)
{
+ // When doing subtitle indepth scan, the pipeline ends at sync
job->fifo_sync = hb_fifo_init( FIFO_SMALL, FIFO_SMALL_WAKE );
job->fifo_render = NULL; // Attached to filter chain
job->fifo_mpeg4 = hb_fifo_init( FIFO_LARGE, FIFO_LARGE_WAKE );
@@ -1583,6 +1585,7 @@ static void do_job(hb_job_t *job)
}
if (!job->indepth_scan)
{
+ // When doing subtitle indepth scan, the pipeline ends at sync
subtitle->fifo_out = hb_fifo_init( FIFO_SMALL, FIFO_SMALL_WAKE );
}