Fixed high debugging levels problems.

This commit is contained in:
Thulinma 2014-01-31 14:31:56 +01:00
parent 32847f80f0
commit 57967696c2
4 changed files with 4 additions and 19 deletions

View file

@ -28,28 +28,13 @@ namespace Converters{
//create DTSC in OGG pages
DTSCFile.parseNext();
std::map< long long int, std::vector<JSON::Value> > DTSCBuffer;
long long int currID;
OGG::Page curOggPage;
while(DTSCFile.getJSON()){
//currID = DTSCFile.getJSON()["trackid"].asInt();
//if (!DTSCBuffer[currID].empty()){
std::string tmpString;
oggMeta.readDTSCVector(DTSCFile.getJSON(), tmpString);
std::cout << tmpString;
//DTSCBuffer[currID].clear();
//}
//DTSCBuffer[currID].push_back(DTSCFile.getJSON());
DTSCFile.parseNext();
}
//outputting end of stream pages
//for (std::map< long long int, std::vector<JSON::Value> >::iterator it = DTSCBuffer.begin(); it != DTSCBuffer.end(); it++){
//if (!DTSCBuffer[it->first].empty() && DTSCBuffer[it->first][0]["data"].asString() != ""){
//std::cout << oggMeta.readDTSCVector(DTSCBuffer[it->first]);
//}
//}
return 0;
}
}