summaryrefslogtreecommitdiffstats
path: root/libhb/muxavformat.c
diff options
context:
space:
mode:
authorBradley Sepos <[email protected]>2018-05-28 23:58:51 -0400
committerBradley Sepos <[email protected]>2018-05-28 23:58:51 -0400
commitd1222dd59cac26a591ce3b93bdf3adc5e1733568 (patch)
tree7fb115349d9042e3c782860ad50fdc545095e829 /libhb/muxavformat.c
parent5a52b9265c71296f676be899f7f8ef893e12f7bb (diff)
contrib: Use AV_CODEC_ID_ASS for FFmpeg.
Diffstat (limited to 'libhb/muxavformat.c')
-rw-r--r--libhb/muxavformat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libhb/muxavformat.c b/libhb/muxavformat.c
index c9115cf58..698096600 100644
--- a/libhb/muxavformat.c
+++ b/libhb/muxavformat.c
@@ -800,7 +800,7 @@ static int avformatInit( hb_mux_object_t * m )
}
else
{
- track->st->codecpar->codec_id = AV_CODEC_ID_SSA;
+ track->st->codecpar->codec_id = AV_CODEC_ID_ASS;
need_fonts = 1;
if (subtitle->extradata_size)
@@ -1315,7 +1315,7 @@ static int avformatMux(hb_mux_object_t *m, hb_mux_data_t *track, hb_buffer_t *bu
free(styleatom);
}
}
- if (track->st->codecpar->codec_id == AV_CODEC_ID_SSA &&
+ if (track->st->codecpar->codec_id == AV_CODEC_ID_ASS &&
job->mux == HB_MUX_AV_MKV)
{
// avformat requires the this additional information