summaryrefslogtreecommitdiffstats
path: root/libhb/sync.c
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2016-09-26 14:13:06 -0700
committerJohn Stebbins <[email protected]>2016-09-26 14:13:06 -0700
commitf7ff05d2dfe5d61a101f92a9ed39e756997c3268 (patch)
tree8f34eb2d728427f6e5927df327dc98350d2d4a8a /libhb/sync.c
parent38710f772d395b0aa7c97d77befca80b23a1b52c (diff)
sync: more robust handling of p-to-p end time
Continue processing input queues until none are full after p-to-p end time is reached.
Diffstat (limited to 'libhb/sync.c')
-rw-r--r--libhb/sync.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libhb/sync.c b/libhb/sync.c
index e869089a3..e27617da5 100644
--- a/libhb/sync.c
+++ b/libhb/sync.c
@@ -1399,7 +1399,7 @@ static void OutputBuffer( sync_common_t * common )
fifo_push(out_stream->fifo_out, hb_buffer_eof_init());
terminateSubtitleStreams(common);
signalBuffer(out_stream);
- return;
+ continue;
}
if (out_stream->type == SYNC_TYPE_VIDEO &&
common->job->frame_to_stop &&
@@ -1412,7 +1412,7 @@ static void OutputBuffer( sync_common_t * common )
fifo_push(out_stream->fifo_out, hb_buffer_eof_init());
terminateSubtitleStreams(common);
signalBuffer(out_stream);
- return;
+ continue;
}
if (out_stream->type == SYNC_TYPE_VIDEO)