diff options
author | John Stebbins <[email protected]> | 2016-06-10 11:12:41 -0600 |
---|---|---|
committer | John Stebbins <[email protected]> | 2016-06-10 11:15:09 -0600 |
commit | 6e9c5aa73059390659791b9e506176d9137933b1 (patch) | |
tree | 5e265912847916d61e71456301ac1eac1fc33052 /libhb/fifo.c | |
parent | ed7b1ded06240d840501d1e1fef06e06647695fb (diff) |
sync: speed up p-to-p finalization when there are subtitles
When doing point-to-point encoding, subtitles can cause a long
delay in finishing the job when the stop point is reached. This
is due to the sparse nature of subtitles. We may not even see
any additional subtitle till we reach the end of the file.
So when all audio and video streams have reached the end point,
force the termination of all subtitle streams by pushing an
end-of-stream buffer into each subtitles input fifo.
This will cause each subtitle sync worker to wake and return
HB_WORK_DONE.
Diffstat (limited to 'libhb/fifo.c')
0 files changed, 0 insertions, 0 deletions