[vlc-devel] [PATCH 1/3] fourcc: add VP4

Tristan Matthews tmatth at videolan.org
Fri Jun 28 05:30:19 CEST 2019


This patchset adds VP4 decoding support.

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

diff --git a/include/vlc_fourcc.h b/include/vlc_fourcc.h
index 1b1b6aed2f..2f7356e0ec 100644
--- a/include/vlc_fourcc.h
+++ b/include/vlc_fourcc.h
@@ -116,6 +116,7 @@
 #define VLC_CODEC_CDG             VLC_FOURCC('C','D','G',' ')
 #define VLC_CODEC_FRWU            VLC_FOURCC('F','R','W','U')
 #define VLC_CODEC_AMV             VLC_FOURCC('A','M','V',' ')
+#define VLC_CODEC_VP4             VLC_FOURCC('V','P','4','0')
 #define VLC_CODEC_VP7             VLC_FOURCC('V','P','7','0')
 #define VLC_CODEC_VP8             VLC_FOURCC('V','P','8','0')
 #define VLC_CODEC_VP9             VLC_FOURCC('V','P','9','0')
diff --git a/src/misc/fourcc_list.h b/src/misc/fourcc_list.h
index 866ab2f393..00a36f17d3 100644
--- a/src/misc/fourcc_list.h
+++ b/src/misc/fourcc_list.h
@@ -485,6 +485,10 @@ static const staticentry_t p_list_video[] = {
         A("VP31"),
         A("vp31"),
 
+    /* On2 VP4 Video Codec */
+    B(VLC_CODEC_VP4, "On2's VP4 Video"),
+        A("VP40"),
+
     /* On2  VP5, VP6 codecs */
     B(VLC_CODEC_VP5, "On2's VP5 Video"),
         A("VP5 "),
-- 
2.19.1



More information about the vlc-devel mailing list