diff options
Diffstat (limited to 'libhb')
-rw-r--r-- | libhb/reader.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libhb/reader.c b/libhb/reader.c index 5f753a7ed..4fd56ff1c 100644 --- a/libhb/reader.c +++ b/libhb/reader.c @@ -651,6 +651,10 @@ void ReadLoop( void * _w ) // buf->s.id, r->scr_offset, buf->s.start, // buf->s.start - r->scr_offset); buf->s.start -= r->scr_offset; + if ( buf->s.stop != AV_NOPTS_VALUE ) + { + buf->s.stop -= r->scr_offset; + } } if ( buf->s.renderOffset != AV_NOPTS_VALUE ) { |