diff options
author | James Almer <jamrial@gmail.com> | 2018-09-21 16:55:35 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2018-09-21 16:57:32 -0300 |
commit | 4755b6e6d194b0a0fb72957cd3dc0eaf7b2375f7 (patch) | |
tree | 1559c7e56099f392ca79f7ccc9f95637c5595c90 | |
parent | cbe5c7ef386d7bc211823a9bdb17d41d97d4fb71 (diff) | |
download | ffmpeg-4755b6e6d194b0a0fb72957cd3dc0eaf7b2375f7.tar.gz |
avformat/matroskaenc: write CodecPrivate in WebM
This is now needed for AV1.
Signed-off-by: James Almer <jamrial@gmail.com>
-rw-r--r-- | libavformat/matroskaenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/matroskaenc.c b/libavformat/matroskaenc.c index 76cb124221..a0e2f426f7 100644 --- a/libavformat/matroskaenc.c +++ b/libavformat/matroskaenc.c @@ -1429,7 +1429,7 @@ static int mkv_write_track(AVFormatContext *s, MatroskaMuxContext *mkv, return AVERROR(EINVAL); } - if (mkv->mode != MODE_WEBM || par->codec_id != AV_CODEC_ID_WEBVTT) { + if (par->codec_id != AV_CODEC_ID_WEBVTT) { mkv->tracks[i].codecpriv_offset = avio_tell(pb); ret = mkv_write_codecprivate(s, pb, par, native_id, qt_id); if (ret < 0) |