vlc | branch: master | Francois Cartegnie <[email protected]> | Tue Apr 18 17:13:42 2017 +0200| [0858bd7660161c3d54ec2e4eb4493205160a53de] | committer: Francois Cartegnie
demux: adaptive: fix debug > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0858bd7660161c3d54ec2e4eb4493205160a53de --- modules/demux/adaptive/logic/PredictiveAdaptationLogic.cpp | 2 +- modules/demux/adaptive/logic/RateBasedAdaptationLogic.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/demux/adaptive/logic/PredictiveAdaptationLogic.cpp b/modules/demux/adaptive/logic/PredictiveAdaptationLogic.cpp index 390b0cea66..429d1465f1 100644 --- a/modules/demux/adaptive/logic/PredictiveAdaptationLogic.cpp +++ b/modules/demux/adaptive/logic/PredictiveAdaptationLogic.cpp @@ -205,7 +205,7 @@ void PredictiveAdaptationLogic::trackerEvent(const SegmentTrackerEvent &event) } vlc_mutex_unlock(&lock); BwDebug(msg_Info(p_obj, "Stream %s is now known %sactive", - (event.u.buffering.enabled) "" : "in")); + (event.u.buffering.enabled) ? "" : "in")); } break; diff --git a/modules/demux/adaptive/logic/RateBasedAdaptationLogic.cpp b/modules/demux/adaptive/logic/RateBasedAdaptationLogic.cpp index 200891b078..e100330cd2 100644 --- a/modules/demux/adaptive/logic/RateBasedAdaptationLogic.cpp +++ b/modules/demux/adaptive/logic/RateBasedAdaptationLogic.cpp @@ -94,8 +94,8 @@ void RateBasedAdaptationLogic::updateDownloadRate(const ID &, size_t size, mtime vlc_mutex_lock(&lock); bpsAvg = average.push(bps); - BwDebug(msg_Dbg(p_obj, "alpha1 %lf alpha0 %lf dmax %ld ds %ld", alpha, - (double)deltamax / diffsum, deltamax, diffsum)); +// BwDebug(msg_Dbg(p_obj, "alpha1 %lf alpha0 %lf dmax %ld ds %ld", alpha, +// (double)deltamax / diffsum, deltamax, diffsum)); BwDebug(msg_Dbg(p_obj, "bw estimation bps %zu -> avg %zu", bps / 8000, bpsAvg / 8000)); _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
