aboutsummaryrefslogtreecommitdiffstats
path: root/Adaptation/Bola.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Adaptation/Bola.cpp')
-rw-r--r--Adaptation/Bola.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Adaptation/Bola.cpp b/Adaptation/Bola.cpp
index 470d22e8..bc37dca5 100644
--- a/Adaptation/Bola.cpp
+++ b/Adaptation/Bola.cpp
@@ -310,7 +310,7 @@ void BolaAdaptation::setBitrate(uint32_t bufferFill)
//double timeSinceLastDownload = getDelayFromLastFragmentInSeconds(); // Define function
double timeSinceLastDownload = this->currentDownloadTimeInstant - this->lastDownloadTimeInstant;
- Debug("VirtualBuffer - Time Since Last Download:\t%f\n", timeSinceLastDownload);
+ qDebug("VirtualBuffer - Time Since Last Download:\t%f", timeSinceLastDownload);
if (timeSinceLastDownload > 0.0) {
this->virtualBuffer += timeSinceLastDownload;
@@ -322,7 +322,7 @@ void BolaAdaptation::setBitrate(uint32_t bufferFill)
this->virtualBuffer = 0.0;
}
- Debug("VirtualBuffer - Virtual Buffer Value:\t%f\n", this->virtualBuffer);
+ qDebug("VirtualBuffer - Virtual Buffer Value:\t%f", this->virtualBuffer);
// Update currentDownloadTimeInstant
this->lastDownloadTimeInstant = this->currentDownloadTimeInstant;
@@ -330,7 +330,7 @@ void BolaAdaptation::setBitrate(uint32_t bufferFill)
// Update bolaQuality using virtualBuffer: bufferLevel might be artificially low because of lack of availability
int bolaQualityVirtual = getQualityFromBufferLevel(bufferLevelSeconds + this->virtualBuffer);
- Debug("VirtualBuffer - Bola Quality Virtual:\t%d\n", bolaQualityVirtual);
+ qDebug("VirtualBuffer - Bola Quality Virtual:\t%d", bolaQualityVirtual);
if (bolaQualityVirtual > bolaQuality) {
// May use quality higher than that indicated by real buffer level.
// In this case, make sure there is enough throughput to download a fragment before real buffer runs out.