[vlc-devel] [PATCH 11/12] dash: removed couts from managers
Hugo Beauzée-Luyssen
beauze.h at gmail.com
Tue Mar 13 16:42:52 CET 2012
On Tue, Mar 13, 2012 at 3:18 PM, <Christopher at mailsrv.uni-klu.ac.at> wrote:
> From: 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 a42da61..7590c4e 100644
> --- a/modules/stream_filter/dash/mpd/BasicCMManager.cpp
> +++ b/modules/stream_filter/dash/mpd/BasicCMManager.cpp
> @@ -96,7 +96,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++)
> {
> @@ -110,7 +109,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
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
Ok
--
Hugo Beauzée-Luyssen
More information about the vlc-devel
mailing list