[vlc-commits] dash: remove some disturbing couts from isoffmainmanager

Christopher Mueller git at videolan.org
Tue Feb 14 17:30:23 CET 2012


vlc | branch: master | Christopher Mueller <christopher.mueller at itec.aau.at> | Sat Feb 11 12:00:04 2012 +0100| [8709c04742ac1bb353a83a53ae568b09bc06d3c6] | committer: Hugo Beauzée-Luyssen

dash: remove some disturbing couts from isoffmainmanager

Signed-off-by: Hugo Beauzée-Luyssen <beauze.h at gmail.com>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8709c04742ac1bb353a83a53ae568b09bc06d3c6
---

 .../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;
 }



More information about the vlc-commits mailing list