diff options
author | John Stebbins <[email protected]> | 2016-12-15 11:23:34 -0800 |
---|---|---|
committer | John Stebbins <[email protected]> | 2016-12-17 07:28:51 -0800 |
commit | 0deca32324ae5f1741360796a2c76f5249ca04e4 (patch) | |
tree | 4a6b85222ad945675b3d58e25f34b0ad25a67450 /libhb | |
parent | 48bdca29c21ad7137a45003767bd40764feb89b1 (diff) |
stream: fix SRT detection
libav changed the codec id they use for SRT in mkv
Diffstat (limited to 'libhb')
-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 0fd98a6c2..928490dab 100644 --- a/libhb/stream.c +++ b/libhb/stream.c @@ -5321,6 +5321,7 @@ static void add_ffmpeg_subtitle( hb_title_t *title, hb_stream_t *stream, int id "subtitle colors likely to be wrong" ); break; case AV_CODEC_ID_TEXT: + case AV_CODEC_ID_SRT: subtitle->format = TEXTSUB; subtitle->source = UTF8SUB; subtitle->config.dest = PASSTHRUSUB; |