From 4ed6a485d324b5d0fdd1740d1b2d500ff186dc90 Mon Sep 17 00:00:00 2001 From: Paweł Wegner Date: Mon, 25 Feb 2019 11:50:43 +0100 Subject: libavformat/movenc: mov: added subtitle codec tags to codec tag list MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This fixes avformat_query_codec incorrectly returning 0 for mov container and mov_text subtitles. Signed-off-by: Paweł Wegner Signed-off-by: James Almer --- libavformat/movenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/movenc.c') diff --git a/libavformat/movenc.c b/libavformat/movenc.c index 77943304b5..8969d5b170 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -6858,7 +6858,7 @@ AVOutputFormat ff_mov_muxer = { .deinit = mov_free, .flags = AVFMT_GLOBALHEADER | AVFMT_ALLOW_FLUSH | AVFMT_TS_NEGATIVE, .codec_tag = (const AVCodecTag* const []){ - ff_codec_movvideo_tags, ff_codec_movaudio_tags, 0 + ff_codec_movvideo_tags, ff_codec_movaudio_tags, ff_codec_movsubtitle_tags, 0 }, .check_bitstream = mov_check_bitstream, .priv_class = &mov_muxer_class, -- cgit v1.2.3