[vlc-commits] vlc_fourcc: add WEBVTT
Francois Cartegnie
git at videolan.org
Thu Oct 26 11:27:06 CEST 2017
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Oct 19 16:44:22 2017 +0200| [50eca1aa1dbb1118955aa67222b0c52da7c97795] | committer: Francois Cartegnie
vlc_fourcc: add WEBVTT
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=50eca1aa1dbb1118955aa67222b0c52da7c97795
---
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 c15b106c84..5ec345f43a 100644
--- a/include/vlc_fourcc.h
+++ b/include/vlc_fourcc.h
@@ -543,6 +543,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_WEBVTT VLC_FOURCC('w','v','t','t')
/* XYZ colorspace 12 bits packed in 16 bits, organisation |XXX0|YYY0|ZZZ0| */
#define VLC_CODEC_XYZ12 VLC_FOURCC('X','Y','1','2')
diff --git a/src/misc/fourcc_list.h b/src/misc/fourcc_list.h
index b6916b9ff4..e792f28fb5 100644
--- a/src/misc/fourcc_list.h
+++ b/src/misc/fourcc_list.h
@@ -1606,4 +1606,6 @@ static const staticentry_t p_list_spu[] = {
B(VLC_CODEC_TTML, "TTML subtitles"),
A("ttml"),
+
+ B(VLC_CODEC_WEBVTT, "WEBVTT subtitles"),
};
More information about the vlc-commits
mailing list