From 0478269975bd780c25e311e8f68615c747002b1c Mon Sep 17 00:00:00 2001 From: John Stebbins Date: Thu, 22 Dec 2016 09:32:33 -0800 Subject: [PATCH] stream: fix SRT subtitle duration --- libhb/stream.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libhb/stream.c b/libhb/stream.c index 928490dab..859520751 100644 --- a/libhb/stream.c +++ b/libhb/stream.c @@ -5835,6 +5835,7 @@ hb_buffer_t * hb_ffmpeg_read( hb_stream_t *stream ) break; } if ( ffmpeg_pkt_codec == AV_CODEC_ID_TEXT || + ffmpeg_pkt_codec == AV_CODEC_ID_SRT || ffmpeg_pkt_codec == AV_CODEC_ID_MOV_TEXT ) { int64_t ffmpeg_pkt_duration = stream->ffmpeg_pkt.duration; int64_t buf_duration = av_to_hb_pts( ffmpeg_pkt_duration, tsconv, 0 ); -- 2.40.0