rcombs: > --- > libavcodec/codec_desc.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/libavcodec/codec_desc.c b/libavcodec/codec_desc.c > index 9e73dcba27..3dee640360 100644 > --- a/libavcodec/codec_desc.c > +++ b/libavcodec/codec_desc.c > @@ -3173,6 +3173,7 @@ static const AVCodecDescriptor codec_descriptors[] = { > .name = "text", > .long_name = NULL_IF_CONFIG_SMALL("raw UTF-8 text"), > .props = AV_CODEC_PROP_TEXT_SUB, > + .mime_types= MT("text/plain"), > }, > { > .id = AV_CODEC_ID_XSUB, > I'm not sure this is ok. text/plain means any text, not necessarily subtitles. Your change will make the Matroska demuxer use AV_CODEC_ID_TEXT for text/plain (which is the reason why I kept this special case in the muxer).
- Andreas _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".