Ogg 2 DTSC nearly working

This commit is contained in:
Oswald Auguste de Bruin 2013-07-16 16:22:26 +02:00 committed by Thulinma
parent d72b1ebbbf
commit a0a6e957a5
2 changed files with 102 additions and 49 deletions

View file

@ -27,6 +27,9 @@ namespace Analysers{
if (memcmp("theora",oggPage.getFullPayload() + 1,6) == 0){
sn2Codec[oggPage.getBitstreamSerialNumber()] = "theora";
}
if (memcmp("vorbis",oggPage.getFullPayload() + 1,6) == 0){
sn2Codec[oggPage.getBitstreamSerialNumber()] = "vorbis";
}
}
oggPage.setInternalCodec(sn2Codec[oggPage.getBitstreamSerialNumber()]);
std::cout << oggPage.toPrettyString() << std::endl;