[vlc-devel] [PATCH 13/13] dash: remove some disturbing couts from isoffmainmanager

Christopher at mailsrv.uni-klu.ac.at Christopher at mailsrv.uni-klu.ac.at
Sat Feb 11 12:00:04 CET 2012


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

---
 .../stream_filter/dash/mpd/IsoffMainManager.cpp    |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/modules/stream_filter/dash/mpd/IsoffMainManager.cpp b/modules/stream_filter/dash/mpd/IsoffMainManager.cpp
index 9fa2cde..8ff2b3d 100644
--- a/modules/stream_filter/dash/mpd/IsoffMainManager.cpp
+++ b/modules/stream_filter/dash/mpd/IsoffMainManager.cpp
@@ -106,11 +106,11 @@ Representation*             IsoffMainManager::getRepresentation     (Period *per
 
             if(best == NULL || (currentBitrate > best->getBandwidth() && currentBitrate < bitrate))
             {
-                std::cout << "Found a better Representation bandwidth=" << reps.at(j)->getBandwidth() << " in adaptationSet #" << i << std::endl;
                 best = reps.at( j );
             }
         }
     }
+    std::cout << "Found Representation bandwidth=" << best->getBandwidth() << std::endl;
     return best;
 }
 Period*                     IsoffMainManager::getNextPeriod         (Period *period)
@@ -169,11 +169,10 @@ Representation*             IsoffMainManager::getRepresentation     (Period *per
 
         if(best == NULL || (currentBitrate > best->getBandwidth() && currentBitrate < bitrate))
         {
-            std::cout << "Found a better Representation bandwidth=" << resMatchReps.at(j)->getBandwidth()
-                      << " and resolution: " << resMatchReps.at(j)->getWidth() << "x" << resMatchReps.at(j)->getHeight() << std::endl;
             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