[vlc-commits] fourcc: add HDMV text subtitles

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:37:33 2017 +0100| [adfff58b04e85ac4e8ef87caac059923a6d3f5d2] | committer: Francois Cartegnie

fourcc: add HDMV text subtitles

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

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

diff --git a/include/vlc_fourcc.h b/include/vlc_fourcc.h
index 2286a5b..50261c6 100644
--- a/include/vlc_fourcc.h
+++ b/include/vlc_fourcc.h
@@ -524,6 +524,7 @@
 #define VLC_CODEC_ARIB_C    VLC_FOURCC('a','r','b','c')
 /* Blu-ray Presentation Graphics */
 #define VLC_CODEC_BD_PG     VLC_FOURCC('b','d','p','g')
+#define VLC_CODEC_BD_TEXT   VLC_FOURCC('b','d','t','x')
 /* EBU STL (TECH. 3264-E) */
 #define VLC_CODEC_EBU_STL   VLC_FOURCC('S','T','L',' ')
 #define VLC_CODEC_SCTE_18   VLC_FOURCC('S','C','1','8')
diff --git a/src/misc/fourcc_list.h b/src/misc/fourcc_list.h
index 9e06636..a342989 100644
--- a/src/misc/fourcc_list.h
+++ b/src/misc/fourcc_list.h
@@ -1577,9 +1577,12 @@ static const staticentry_t p_list_spu[] = {
     B(VLC_CODEC_ARIB_C, "ARIB subtitles (C-profile)"),
         A("arbc"),
 
-    B(VLC_CODEC_BD_PG, "BD subtitles"),
+    B(VLC_CODEC_BD_PG, "BD PGS subtitles"),
         A("bdpg"),
 
+    B(VLC_CODEC_BD_TEXT, "BD Text subtitles"),
+        A("bdtx"),
+
     B(VLC_CODEC_EBU_STL, "EBU STL subtitles"),
         A("STL "),
 



More information about the vlc-commits mailing list