Memory optimizations and supporting code for libmist changes.
This commit is contained in:
parent
6ade063756
commit
8e3d636381
9 changed files with 15 additions and 12 deletions
|
@ -187,7 +187,6 @@ namespace Mist {
|
|||
std::stringstream trackSpec;
|
||||
for (std::map<int, DTSC::Track>::iterator it = myMeta.tracks.begin(); it != myMeta.tracks.end(); it++) {
|
||||
DEBUG_MSG(DLVL_VERYHIGH, "Track %d encountered", it->first);
|
||||
//selectedTracks.insert(it->first);
|
||||
if (trackSpec.str() != ""){
|
||||
trackSpec << " ";
|
||||
}
|
||||
|
@ -207,6 +206,10 @@ namespace Mist {
|
|||
|
||||
while(lastPack){//loop through all
|
||||
int tid = lastPack.getTrackId();
|
||||
if (!tid){
|
||||
getNext(false);
|
||||
continue;
|
||||
}
|
||||
if (!bookKeeping.count(tid)){
|
||||
bookKeeping[tid].first = 1;
|
||||
bookKeeping[tid].curPart = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue