[vlc-commits] vlc_fourcc: add MPEG-H entries

Francois Cartegnie git at videolan.org
Tue Dec 1 17:00:04 CET 2020


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue Dec  1 15:19:07 2020 +0100| [9379b818e88c01b45638359f7af21b6c848ba1fe] | committer: Francois Cartegnie

vlc_fourcc: add MPEG-H entries

Have at least codec decription until passthrough.
Will need to handle original codec differences.

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

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

diff --git a/include/vlc_fourcc.h b/include/vlc_fourcc.h
index dddc1c6e2d..d07755f0d0 100644
--- a/include/vlc_fourcc.h
+++ b/include/vlc_fourcc.h
@@ -457,6 +457,7 @@
 /* Audio codec */
 #define VLC_CODEC_MPGA                       VLC_FOURCC('m','p','g','a')
 #define VLC_CODEC_MP4A                       VLC_FOURCC('m','p','4','a')
+#define VLC_CODEC_MPEGH                      VLC_FOURCC('M','H','A','S')
 #define VLC_CODEC_ALS                        VLC_FOURCC('a','l','s',' ')
 #define VLC_CODEC_A52                        VLC_FOURCC('a','5','2',' ')
 #define VLC_CODEC_EAC3                       VLC_FOURCC('e','a','c','3')
diff --git a/src/misc/fourcc_list.h b/src/misc/fourcc_list.h
index cfb81c95f3..6fa2a01d74 100644
--- a/src/misc/fourcc_list.h
+++ b/src/misc/fourcc_list.h
@@ -1370,6 +1370,12 @@ static const staticentry_t p_list_audio[] = {
         A("AACH"),
         A("AACP"), /* smooth streaming alias */
 
+    B(VLC_CODEC_MPEGH, "MPEG-H Audio"),
+        A("mha1"),
+        A("mha2"),
+        A("mhm1"),
+        A("mhm2"),
+
     /* ALS audio */
     B(VLC_CODEC_ALS, "MPEG-4 Audio Lossless (ALS)"),
         A("als "),



More information about the vlc-commits mailing list