Ogg 2 DTSC nearly working
This commit is contained in:
parent
d72b1ebbbf
commit
a0a6e957a5
2 changed files with 102 additions and 49 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue