Detect VobSub within MP4

This commit is contained in:
Martchus 2019-03-10 16:40:51 +01:00
parent 0452b42bfc
commit d812e0d3ae
2 changed files with 4 additions and 1 deletions

View File

@ -291,6 +291,8 @@ MediaFormat streamObjectTypeFormat(byte streamObjectTypeId)
case PrivateOgg: case PrivateOgg:
case PrivateOgg2: case PrivateOgg2:
return GeneralMediaFormat::Vorbis; return GeneralMediaFormat::Vorbis;
case PrivateVobSub:
return GeneralMediaFormat::VobSub;
case PrivateQcelp: case PrivateQcelp:
return GeneralMediaFormat::Qcelp; return GeneralMediaFormat::Qcelp;
default: default:

View File

@ -474,7 +474,8 @@ enum KnownValue : byte {
PrivateDts, /**< DTS */ PrivateDts, /**< DTS */
PrivateOgg = 0xDD, /**< Ogg */ PrivateOgg = 0xDD, /**< Ogg */
PrivateOgg2, /**< Ogg */ PrivateOgg2, /**< Ogg */
PrivateQcelp = 0xE1 /**< QCELP */ PrivateVobSub = 0xE0, /**< VobSub */
PrivateQcelp = 0xE1, /**< QCELP */
}; };
TAG_PARSER_EXPORT MediaFormat streamObjectTypeFormat(byte streamObjectTypeId); TAG_PARSER_EXPORT MediaFormat streamObjectTypeFormat(byte streamObjectTypeId);