[vlc-commits] avcodec: map HDMV text

Francois Cartegnie git at videolan.org
Sat Jan 28 14:03:45 CET 2017


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Jan 27 18:46:38 2017 +0100| [5483a4938ba4ce3a01f24ddd916e280aa1405cfd] | committer: Francois Cartegnie

avcodec: map HDMV text

note: still no decoder

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

 modules/codec/avcodec/fourcc.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/modules/codec/avcodec/fourcc.c b/modules/codec/avcodec/fourcc.c
index 5fc027f..f4b4c81 100644
--- a/modules/codec/avcodec/fourcc.c
+++ b/modules/codec/avcodec/fourcc.c
@@ -463,6 +463,9 @@ static const struct
     { VLC_CODEC_SSA, AV_CODEC_ID_SSA, SPU_ES },
     /* AV_CODEC_ID_MOV_TEXT */
     { VLC_CODEC_BD_PG, AV_CODEC_ID_HDMV_PGS_SUBTITLE, SPU_ES },
+#if LIBAVCODEC_VERSION_CHECK( 57, 999, 999, 71, 100 )
+    { VLC_CODEC_BD_TEXT, AV_CODEC_ID_HDMV_TEXT_SUBTITLE, SPU_ES },
+#endif
     { VLC_CODEC_TELETEXT, AV_CODEC_ID_DVB_TELETEXT, SPU_ES },
     /* AV_CODEC_ID_SRT */
     /* ffmpeg only: AV_CODEC_ID_MICRODVD */



More information about the vlc-commits mailing list