Skip to content

Commit

Permalink
sync: more robust handling of p-to-p end time
Browse files Browse the repository at this point in the history
Continue processing input queues until none are full after p-to-p end
time is reached.
  • Loading branch information
jstebbins committed Sep 26, 2016
1 parent 38710f7 commit f7ff05d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libhb/sync.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 &&
Expand All @@ -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)
Expand Down

0 comments on commit f7ff05d

Please sign in to comment.