diff options
Diffstat (limited to 'libhb/sync.c')
-rw-r--r-- | libhb/sync.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libhb/sync.c b/libhb/sync.c index 48d857a61..a7096c3fe 100644 --- a/libhb/sync.c +++ b/libhb/sync.c @@ -986,7 +986,8 @@ static void OutputBuffer( sync_common_t * common ) { buf->s.start = out_stream->next_pts; } - if (buf->s.stop < out_stream->next_pts) + if (buf->s.stop != AV_NOPTS_VALUE && + buf->s.stop < out_stream->next_pts) { buf->s.stop = out_stream->next_pts; } |