[vlc-commits] dash: removed couts from managers
Christopher Mueller
git at videolan.org
Mon Apr 16 11:05:02 CEST 2012
vlc | branch: master | Christopher Mueller <christopher.mueller at itec.aau.at> | Tue Apr 3 16:41:42 2012 +0200| [a3ba90850a18efd13306fe8343c88e668fbeffb6] | committer: Hugo Beauzée-Luyssen
dash: removed couts from managers
Signed-off-by: Christopher Mueller <christopher.mueller at itec.aau.at>
Signed-off-by: Hugo Beauzée-Luyssen <beauze.h at gmail.com>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a3ba90850a18efd13306fe8343c88e668fbeffb6
---
modules/stream_filter/dash/mpd/BasicCMManager.cpp | 2 --
.../stream_filter/dash/mpd/IsoffMainManager.cpp | 8 +-------
2 files changed, 1 insertions(+), 9 deletions(-)
diff --git a/modules/stream_filter/dash/mpd/BasicCMManager.cpp b/modules/stream_filter/dash/mpd/BasicCMManager.cpp
index 14c6644..a4cb0c3 100644
--- a/modules/stream_filter/dash/mpd/BasicCMManager.cpp
+++ b/modules/stream_filter/dash/mpd/BasicCMManager.cpp
@@ -95,7 +95,6 @@ Representation* BasicCMManager::getRepresentation(Period *period, uint64
std::vector<Group *> groups = period->getGroups();
Representation *best = NULL;
- std::cout << "Sarching for best representation with bitrate: " << bitrate << std::endl;
for(size_t i = 0; i < groups.size(); i++)
{
@@ -108,7 +107,6 @@ Representation* BasicCMManager::getRepresentation(Period *period, uint64
( currentBitrate > best->getBandwidth() &&
currentBitrate < bitrate ) )
{
- std::cout << "Found a better Representation (#" << j << ") in group #" << i << std::endl;
best = reps.at( j );
}
}
diff --git a/modules/stream_filter/dash/mpd/IsoffMainManager.cpp b/modules/stream_filter/dash/mpd/IsoffMainManager.cpp
index 2ad4185..f870d7e 100644
--- a/modules/stream_filter/dash/mpd/IsoffMainManager.cpp
+++ b/modules/stream_filter/dash/mpd/IsoffMainManager.cpp
@@ -95,7 +95,6 @@ Representation* IsoffMainManager::getRepresentation (Period *per
std::vector<AdaptationSet *> adaptationSets = period->getAdaptationSets();
Representation *best = NULL;
- std::cout << "Searching for best representation with bitrate: " << bitrate << std::endl;
for(size_t i = 0; i < adaptationSets.size(); i++)
{
@@ -110,7 +109,6 @@ Representation* IsoffMainManager::getRepresentation (Period *per
}
}
}
- std::cout << "Found Representation bandwidth=" << best->getBandwidth() << std::endl;
return best;
}
Period* IsoffMainManager::getNextPeriod (Period *period)
@@ -135,9 +133,6 @@ Representation* IsoffMainManager::getRepresentation (Period *per
return NULL;
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;
int lowerWidth = 0;
@@ -172,7 +167,6 @@ Representation* IsoffMainManager::getRepresentation (Period *per
best = resMatchReps.at(j);
}
}
- std::cout << "Found a better Representation bandwidth=" << best->getBandwidth()
- << " and resolution: " << best->getWidth() << "x" << best->getHeight() << std::endl;
+
return best;
}
More information about the vlc-commits
mailing list