diff options
author | John Stebbins <[email protected]> | 2016-12-22 09:32:33 -0800 |
---|---|---|
committer | John Stebbins <[email protected]> | 2016-12-22 09:32:33 -0800 |
commit | 0478269975bd780c25e311e8f68615c747002b1c (patch) | |
tree | 90fc3b0bb64f13f80d02407b0b7770fd96a5a63d /libhb/stream.c | |
parent | b762b40feb8d561b09af0ff7e7f9e8a780c79789 (diff) |
stream: fix SRT subtitle duration
Diffstat (limited to 'libhb/stream.c')
-rw-r--r-- | libhb/stream.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 ); |