summaryrefslogtreecommitdiffstats
path: root/libhb
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2021-01-21 10:26:13 +0100
committerDamiano Galassi <[email protected]>2021-01-21 10:26:13 +0100
commit036d973063c8c6401e1dab7a38eaa60f48f31a7c (patch)
tree8186c665e28633891a37f67af02cbe403f1648a8 /libhb
parentc030d8a3899962b072d998f74dcb165596fd72ed (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.c3
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)
{