diff options
author | Damiano Galassi <[email protected]> | 2021-01-21 10:26:13 +0100 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2021-01-21 10:26:13 +0100 |
commit | 036d973063c8c6401e1dab7a38eaa60f48f31a7c (patch) | |
tree | 8186c665e28633891a37f67af02cbe403f1648a8 /libhb | |
parent | c030d8a3899962b072d998f74dcb165596fd72ed (diff) |
sync: fix PtoP hang
start_found was never set if there was a subtitles starting at pts_to_start.
Diffstat (limited to 'libhb')
-rw-r--r-- | libhb/sync.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libhb/sync.c b/libhb/sync.c index c75470c87..dba2e706d 100644 --- a/libhb/sync.c +++ b/libhb/sync.c @@ -1491,8 +1491,7 @@ static int OutputBuffer( sync_common_t * common ) out_stream->frame_count = 0; } } - else if (common->wait_for_pts && - out_stream->type != SYNC_TYPE_SUBTITLE) + else if (common->wait_for_pts) { if (buf->s.start >= common->pts_to_start) { |