[vlc-commits] Avcodec: map teletext IDs

Jean-Baptiste Kempf git at videolan.org
Thu Aug 18 13:09:17 CEST 2011


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Aug 18 13:08:26 2011 +0200| [230d6db1ed933298b080444910ee927e2f83befb] | committer: Jean-Baptiste Kempf

Avcodec: map teletext IDs

Close #5204

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=230d6db1ed933298b080444910ee927e2f83befb
---

 modules/codec/avcodec/fourcc.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/modules/codec/avcodec/fourcc.c b/modules/codec/avcodec/fourcc.c
index 4de806b..d26eb5c 100644
--- a/modules/codec/avcodec/fourcc.c
+++ b/modules/codec/avcodec/fourcc.c
@@ -417,6 +417,9 @@ static const struct
     { VLC_CODEC_SUBT, CODEC_ID_TEXT, SPU_ES },
     { VLC_CODEC_XSUB, CODEC_ID_XSUB, SPU_ES },
     { VLC_CODEC_SSA, CODEC_ID_SSA, SPU_ES },
+#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT( 52, 38, 0 )
+    { VLC_CODEC_TELETEXT, CODEC_ID_DVB_TELETEXT, SPU_ES },
+#endif
 
     { 0, 0, UNKNOWN_ES }
 };



More information about the vlc-commits mailing list