summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorPaweł Wegner <pawel.wegner95@gmail.com>2019-02-25 11:50:43 +0100
committerJames Almer <jamrial@gmail.com>2019-03-18 19:15:35 -0300
commit4ed6a485d324b5d0fdd1740d1b2d500ff186dc90 (patch)
tree25228bd36c4481c8fb1c44cfff90d16b0b7ae2fb /libavformat
parent15d016be30bd24cdba514c7c888e9da0286b5647 (diff)
libavformat/movenc: mov: added subtitle codec tags to codec tag list
This fixes avformat_query_codec incorrectly returning 0 for mov container and mov_text subtitles. Signed-off-by: Paweł Wegner <pawel.wegner95@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/movenc.c2
1 files changed, 1 insertions, 1 deletions
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,