Commit 1a8240f5 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Add Tak support

(Why noone added this?)
parent 233e8157
...@@ -404,6 +404,7 @@ ...@@ -404,6 +404,7 @@
#define VLC_CODEC_INDEO_AUDIO VLC_FOURCC('m','s',0x04,0x02) #define VLC_CODEC_INDEO_AUDIO VLC_FOURCC('m','s',0x04,0x02)
#define VLC_CODEC_METASOUND VLC_FOURCC('m','s',0x00,0x75) #define VLC_CODEC_METASOUND VLC_FOURCC('m','s',0x00,0x75)
#define VLC_CODEC_ON2AVC VLC_FOURCC('m','s',0x05,0x00) #define VLC_CODEC_ON2AVC VLC_FOURCC('m','s',0x05,0x00)
#define VLC_CODEC_TAK VLC_FOURCC('t','a','k',' ')
/* Subtitle */ /* Subtitle */
#define VLC_CODEC_SPU VLC_FOURCC('s','p','u',' ') #define VLC_CODEC_SPU VLC_FOURCC('s','p','u',' ')
......
...@@ -453,7 +453,9 @@ static const struct ...@@ -453,7 +453,9 @@ static const struct
{ VLC_CODEC_OPUS, AV_CODEC_ID_OPUS, AUDIO_ES }, { VLC_CODEC_OPUS, AV_CODEC_ID_OPUS, AUDIO_ES },
#endif #endif
/* AV_CODEC_ID_COMFORT_NOISE */ /* AV_CODEC_ID_COMFORT_NOISE */
/* AV_CODEC_ID_TAK */ #if LIBAVCODEC_VERSION_CHECK( 54, 34, 0, 65, 100 )
{ VLC_CODEC_TAK, AV_CODEC_ID_TAK, AUDIO_ES },
#endif
#if LIBAVCODEC_VERSION_CHECK( 55, 15, 0, 24, 100 ) #if LIBAVCODEC_VERSION_CHECK( 55, 15, 0, 24, 100 )
{ VLC_CODEC_METASOUND, AV_CODEC_ID_METASOUND, AUDIO_ES }, { VLC_CODEC_METASOUND, AV_CODEC_ID_METASOUND, AUDIO_ES },
#endif #endif
......
...@@ -1447,6 +1447,8 @@ static const staticentry_t p_list_audio[] = { ...@@ -1447,6 +1447,8 @@ static const staticentry_t p_list_audio[] = {
B(VLC_CODEC_INDEO_AUDIO, "Indeo Audio Coder"), B(VLC_CODEC_INDEO_AUDIO, "Indeo Audio Coder"),
A("ms\x04\x02"), A("ms\x04\x02"),
B(VLC_CODEC_TAK, "TAK (Tom's lossless Audio Kompressor)"),
B(0, "") B(0, "")
}; };
static const staticentry_t p_list_spu[] = { static const staticentry_t p_list_spu[] = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment