Commit a3ba9085 authored by Christopher Mueller's avatar Christopher Mueller Committed by Hugo Beauzée-Luyssen

dash: removed couts from managers

Signed-off-by: default avatarChristopher Mueller <christopher.mueller@itec.aau.at>
Signed-off-by: default avatarHugo Beauzée-Luyssen <beauze.h@gmail.com>
parent af864e98
...@@ -95,7 +95,6 @@ Representation* BasicCMManager::getRepresentation(Period *period, uint64 ...@@ -95,7 +95,6 @@ Representation* BasicCMManager::getRepresentation(Period *period, uint64
std::vector<Group *> groups = period->getGroups(); std::vector<Group *> groups = period->getGroups();
Representation *best = NULL; Representation *best = NULL;
std::cout << "Sarching for best representation with bitrate: " << bitrate << std::endl;
for(size_t i = 0; i < groups.size(); i++) for(size_t i = 0; i < groups.size(); i++)
{ {
...@@ -108,7 +107,6 @@ Representation* BasicCMManager::getRepresentation(Period *period, uint64 ...@@ -108,7 +107,6 @@ Representation* BasicCMManager::getRepresentation(Period *period, uint64
( currentBitrate > best->getBandwidth() && ( currentBitrate > best->getBandwidth() &&
currentBitrate < bitrate ) ) currentBitrate < bitrate ) )
{ {
std::cout << "Found a better Representation (#" << j << ") in group #" << i << std::endl;
best = reps.at( j ); best = reps.at( j );
} }
} }
......
...@@ -95,7 +95,6 @@ Representation* IsoffMainManager::getRepresentation (Period *per ...@@ -95,7 +95,6 @@ Representation* IsoffMainManager::getRepresentation (Period *per
std::vector<AdaptationSet *> adaptationSets = period->getAdaptationSets(); std::vector<AdaptationSet *> adaptationSets = period->getAdaptationSets();
Representation *best = NULL; Representation *best = NULL;
std::cout << "Searching for best representation with bitrate: " << bitrate << std::endl;
for(size_t i = 0; i < adaptationSets.size(); i++) for(size_t i = 0; i < adaptationSets.size(); i++)
{ {
...@@ -110,7 +109,6 @@ Representation* IsoffMainManager::getRepresentation (Period *per ...@@ -110,7 +109,6 @@ Representation* IsoffMainManager::getRepresentation (Period *per
} }
} }
} }
std::cout << "Found Representation bandwidth=" << best->getBandwidth() << std::endl;
return best; return best;
} }
Period* IsoffMainManager::getNextPeriod (Period *period) Period* IsoffMainManager::getNextPeriod (Period *period)
...@@ -135,9 +133,6 @@ Representation* IsoffMainManager::getRepresentation (Period *per ...@@ -135,9 +133,6 @@ Representation* IsoffMainManager::getRepresentation (Period *per
return NULL; return NULL;
std::vector<AdaptationSet *> adaptationSets = period->getAdaptationSets(); std::vector<AdaptationSet *> adaptationSets = period->getAdaptationSets();
std::cout << "Searching for best representation with bitrate: " << bitrate << " and resolution: " << width << "x" << height << std::endl;
std::vector<Representation *> resMatchReps; std::vector<Representation *> resMatchReps;
int lowerWidth = 0; int lowerWidth = 0;
...@@ -172,7 +167,6 @@ Representation* IsoffMainManager::getRepresentation (Period *per ...@@ -172,7 +167,6 @@ Representation* IsoffMainManager::getRepresentation (Period *per
best = resMatchReps.at(j); best = resMatchReps.at(j);
} }
} }
std::cout << "Found a better Representation bandwidth=" << best->getBandwidth()
<< " and resolution: " << best->getWidth() << "x" << best->getHeight() << std::endl;
return best; return best;
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment