[vlc-devel] [PATCH 5/6] dash: removed couts from managers

Christopher Mueller "Christopher Mueller" at mailsrv.uni-klu.ac.at
Tue Apr 3 16:41:42 CEST 2012


From: Christopher Mueller <christopher.mueller at itec.aau.at>

Signed-off-by: Christopher Mueller <christopher.mueller at itec.aau.at>
---
 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;
 }
-- 
1.7.0.4




More information about the vlc-devel mailing list