[vlc-commits] fourcc: add specific TTML encapsulation

Francois Cartegnie git at videolan.org
Thu Jul 19 11:08:37 CEST 2018


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Jul 18 23:02:04 2018 +0200| [e853d1bdca12a461504af1794dd2c00de8ac2585] | committer: Francois Cartegnie

fourcc: add specific TTML encapsulation

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

 include/vlc_fourcc.h   | 1 +
 src/misc/fourcc_list.h | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/include/vlc_fourcc.h b/include/vlc_fourcc.h
index ab376ef6a5..f515148532 100644
--- a/include/vlc_fourcc.h
+++ b/include/vlc_fourcc.h
@@ -566,6 +566,7 @@
 #define VLC_CODEC_CEA608    VLC_FOURCC('c','6','0','8')
 #define VLC_CODEC_CEA708    VLC_FOURCC('c','7','0','8')
 #define VLC_CODEC_TTML      VLC_FOURCC('T','T','M','L')
+#define VLC_CODEC_TTML_TS   VLC_FOURCC('T','s','M','L') /* special for EN.303.560 */
 #define VLC_CODEC_WEBVTT    VLC_FOURCC('w','v','t','t')
 
 /* XYZ colorspace 12 bits packed in 16 bits, organisation |XXX0|YYY0|ZZZ0| */
diff --git a/src/misc/fourcc_list.h b/src/misc/fourcc_list.h
index 7e09dd81e6..284e2afb4d 100644
--- a/src/misc/fourcc_list.h
+++ b/src/misc/fourcc_list.h
@@ -1641,5 +1641,7 @@ static const staticentry_t p_list_spu[] = {
     B(VLC_CODEC_TTML, "TTML subtitles"),
         A("ttml"),
 
+    B(VLC_CODEC_TTML_TS, "TTML subtitles (EN.303.560)"),
+
     B(VLC_CODEC_WEBVTT, "WEBVTT subtitles"),
 };



More information about the vlc-commits mailing list