[FFmpeg-devel] [PATCH]Describe eia_608 as text subtitles

Carl Eugen Hoyos cehoyos at ag.or.at
Thu Aug 27 14:16:11 CEST 2015


Hi!

Attached patch fixes an issue with ffplay here (it tries to scale the text 
subtitles), please comment,

Carl Eugen
-------------- next part --------------
diff --git a/libavcodec/codec_desc.c b/libavcodec/codec_desc.c
index 729e855..c172bf8 100644
--- a/libavcodec/codec_desc.c
+++ b/libavcodec/codec_desc.c
@@ -2670,6 +2670,7 @@ static const AVCodecDescriptor codec_descriptors[] = {
         .type      = AVMEDIA_TYPE_SUBTITLE,
         .name      = "eia_608",
         .long_name = NULL_IF_CONFIG_SMALL("EIA-608 closed captions"),
+        .props     = AV_CODEC_PROP_TEXT_SUB,
     },
     {
         .id        = AV_CODEC_ID_JACOSUB,


More information about the ffmpeg-devel mailing list