From d1f1d938930b6b473bedf3736fc675d5c4c3ee9a Mon Sep 17 00:00:00 2001 From: Angelo Mantellini Date: Mon, 10 Feb 2020 14:24:20 +0100 Subject: Correction adaptech and minor corrections + remove memory leak libdash Signed-off-by: Angelo Mantellini Change-Id: I83161f19385a5ed739e9fd280925abca8009dc71 Change-Id: If394f999b7325a6b07ddff57201f7657e58a493c Signed-off-by: Angelo Mantellini --- Adaptation/BufferBasedAdaptation.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Adaptation/BufferBasedAdaptation.cpp') diff --git a/Adaptation/BufferBasedAdaptation.cpp b/Adaptation/BufferBasedAdaptation.cpp index 480b7a38..21aafe85 100644 --- a/Adaptation/BufferBasedAdaptation.cpp +++ b/Adaptation/BufferBasedAdaptation.cpp @@ -33,8 +33,8 @@ BufferBasedAdaptation::BufferBasedAdaptation (viper::managers::StreamTy this->lastBufferFill = 0; this->bufferEOS = false; this->shouldAbort = false; - Debug("BufferBasedParams:\t%f\t%f\n", (double)reservoirThreshold/100, (double)maxThreshold/100); - Debug("Buffer Adaptation: STARTED\n"); + qDebug("BufferBasedParams:\t%f\t%f", (double)reservoirThreshold/100, (double)maxThreshold/100); + qDebug("Buffer Adaptation: STARTED"); } BufferBasedAdaptation::~BufferBasedAdaptation () @@ -111,7 +111,7 @@ void BufferBasedAdaptation::setBitrate(uint32_t bufferFill) { this->shouldAbort = true; } - Debug("ADAPTATION_LOGIC:\tFor %s:\tlast_buffer: %f\tbuffer_level: %f, choice: %lu, should_trigger_abort: %s\n", (this->type == viper::managers::StreamType::VIDEO) ? "video" : "audio",(double)lastBufferFill/100 , (double)bufferFill/100, i, this->shouldAbort ? "YES" : "NO"); + qDebug("ADAPTATION_LOGIC:\tFor %s:\tlast_buffer: %f\tbuffer_level: %f, choice: %lu, should_trigger_abort: %s", (this->type == viper::managers::StreamType::VIDEO) ? "video" : "audio",(double)lastBufferFill/100 , (double)bufferFill/100, i, this->shouldAbort ? "YES" : "NO"); this->lastBufferFill = bufferFill; } -- cgit 1.2.3-korg