Add mapping for unofficial WavPack FOURCC

This commit is contained in:
Martchus 2017-10-29 17:44:01 +01:00
parent 33735f945a
commit c53e5e35ee
2 changed files with 3 additions and 0 deletions

View File

@ -124,6 +124,8 @@ MediaFormat fourccToMediaFormat(uint32 fourccId)
return MediaFormat(GeneralMediaFormat::MicrosoftMpeg4, 2);
case MsMpeg4V3Decoder1: case MsMpeg4V3Decoder2:
return MediaFormat(GeneralMediaFormat::MicrosoftMpeg4, 3);
case WavPack:
return MediaFormat(GeneralMediaFormat::WavPack);
case WindowsMediaVideoV17:
return MediaFormat(GeneralMediaFormat::WindowsMediaVideo, 1);
case WindowsMediaVideoV2: case WindowsMediaVideoV8:

View File

@ -376,6 +376,7 @@ enum KnownValue : uint32 {
Ulaw21 = 0x756C6177,
VcmImageCodec = 0x4D6A7067,
Vdva = 0x76647661,
WavPack = 0x5756504B,
WindowsMediaAudio = 0x6F776D61, /**< ? */
WindowsMediaAudio7 = 0x574D4131,
WindowsMediaAudio9Professional = 0x574D4133,