[vlc-commits] [Git][videolan/vlc][master] 3 commits: fourcc: add Codec 2

Jean-Baptiste Kempf gitlab at videolan.org
Sat Jun 19 07:22:20 UTC 2021



Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC


Commits:
9707116b by Tristan Matthews at 2021-06-18T21:23:14+00:00
fourcc: add Codec 2

- - - - -
4b7a2c5a by Tristan Matthews at 2021-06-18T21:23:14+00:00
avcodec: fourcc: map Codec 2

- - - - -
f919270b by Tristan Matthews at 2021-06-18T21:23:14+00:00
NEWS: mention Codec 2 decoding

- - - - -


4 changed files:

- NEWS
- include/vlc_fourcc.h
- modules/codec/avcodec/fourcc.c
- src/misc/fourcc_list.h


Changes:

=====================================
NEWS
=====================================
@@ -314,6 +314,7 @@ Packetizers:
 
 Decoder:
  * avcodec: revector video decoder to fix incomplete drain
+ * avcodec: support Codec 2 decoding
  * spudec: implemented palette updates, fixing missing subtitles
    on some DVD
  * Fixed WebVTT CSS styling not being applied on Windows/macOS


=====================================
include/vlc_fourcc.h
=====================================
@@ -475,6 +475,7 @@
 #define VLC_CODEC_TRUEHD                     VLC_FOURCC('m','l','p','a')
 #define VLC_CODEC_DVAUDIO                    VLC_FOURCC('d','v','a','u')
 #define VLC_CODEC_SPEEX                      VLC_FOURCC('s','p','x',' ')
+#define VLC_CODEC_CODEC2                     VLC_FOURCC('C','0','D','E')
 #define VLC_CODEC_OPUS                       VLC_FOURCC('O','p','u','s')
 #define VLC_CODEC_VORBIS                     VLC_FOURCC('v','o','r','b')
 #define VLC_CODEC_MACE3                      VLC_FOURCC('M','A','C','3')


=====================================
modules/codec/avcodec/fourcc.c
=====================================
@@ -456,6 +456,7 @@ static const struct vlc_avcodec_fourcc audio_codecs[] =
     { VLC_CODEC_NELLYMOSER, AV_CODEC_ID_NELLYMOSER },
     { VLC_CODEC_MUSEPACK8, AV_CODEC_ID_MUSEPACK8 },
     { VLC_CODEC_SPEEX, AV_CODEC_ID_SPEEX },
+    { VLC_CODEC_CODEC2, AV_CODEC_ID_CODEC2 },
     { VLC_CODEC_WMAS, AV_CODEC_ID_WMAVOICE },
     { VLC_CODEC_WMAP, AV_CODEC_ID_WMAPRO },
     { VLC_CODEC_WMAL, AV_CODEC_ID_WMALOSSLESS },


=====================================
src/misc/fourcc_list.h
=====================================
@@ -1535,6 +1535,8 @@ static const staticentry_t p_list_audio[] = {
         A("Qclq"),
         A("sqcp"),
 
+    B(VLC_CODEC_CODEC2, "Codec 2 Audio"),
+
     B(VLC_CODEC_SPEEX, "Speex Audio"),
         A("spx "),
         A("spxr"),



View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/13ecfd02a21fb1ceae45d6933312d05e763416d6...f919270b52c8133f2d6fefac00cd72ad857e71f7

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/13ecfd02a21fb1ceae45d6933312d05e763416d6...f919270b52c8133f2d6fefac00cd72ad857e71f7
You're receiving this email because of your account on code.videolan.org.




More information about the vlc-commits mailing list