diff options
Diffstat (limited to 'libhb')
-rw-r--r-- | libhb/stream.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libhb/stream.c b/libhb/stream.c index da2e5791d..d1244f5ee 100644 --- a/libhb/stream.c +++ b/libhb/stream.c @@ -2929,6 +2929,10 @@ static int ffmpeg_read( hb_stream_t *stream, hb_buffer_t *buf ) { buf->start = buf->renderOffset; } + else if ( buf->renderOffset == -1 && buf->start >= 0 ) + { + buf->renderOffset = buf->start; + } /* * Check to see whether this video buffer is on a chapter |