diff options
Diffstat (limited to 'libhb/decavcodec.c')
-rw-r--r-- | libhb/decavcodec.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libhb/decavcodec.c b/libhb/decavcodec.c index 3bb0fe087..9efa3da8f 100644 --- a/libhb/decavcodec.c +++ b/libhb/decavcodec.c @@ -445,6 +445,8 @@ static int decavcodecWork( hb_work_object_t * w, hb_buffer_t ** buf_in, &parser_output_buffer, &parser_output_buffer_len, in->data + pos, in->size - pos, cur, cur, 0 ); cur = pv->parser->pts; + if ( cur == AV_NOPTS_VALUE ) + cur = -1; } else { |