From: Gilbok Lee Date: Mon, 8 Jan 2024 05:49:27 +0000 (+0900) Subject: Fix the log that outputs timeunit incorrectly X-Git-Tag: accepted/tizen/unified/20240207.171604~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=afb34eb79617dc56e8c47724f425ceda89dc5592;p=platform%2Fcore%2Fmultimedia%2Ftrackrenderer.git Fix the log that outputs timeunit incorrectly Change-Id: I4203b908e74c358319b3a580134a27648fb579d4 --- diff --git a/src/trackrenderer.cpp b/src/trackrenderer.cpp index ced5b96..9a20ec1 100644 --- a/src/trackrenderer.cpp +++ b/src/trackrenderer.cpp @@ -743,15 +743,14 @@ bool TrackRenderer::Seek(uint64_t time, auto convert_time = time_converter_->timeToNs_(time); - TRACKRENDERER_INFO("[%p] > target %" PRIu64 " %s rate [%lf] mute [%d]", - this, convert_time, time_converter_->timeUnitCStr_(), - playback_rate, audio_mute); + TRACKRENDERER_INFO("[%p] > target %" PRIu64 " ns rate [%lf] mute [%d]", + this, convert_time, playback_rate, audio_mute); if (!pipeline_->Seek(playback_rate, GST_FORMAT_TIME, (GstSeekFlags)(GST_SEEK_FLAG_FLUSH), GST_SEEK_TYPE_SET, convert_time, GST_SEEK_TYPE_NONE, GST_CLOCK_TIME_NONE)) { - TRACKRENDERER_ERROR("[%p] > Fail to seek to [%" PRIu64 "] %s", - this, convert_time, time_converter_->timeUnitCStr_()); + TRACKRENDERER_ERROR("[%p] > Fail to seek to [%" PRIu64 "] ns", + this, convert_time); } is_seeking_ = true;