Fix the log that outputs timeunit incorrectly 18/303918/2
authorGilbok Lee <gilbok.lee@samsung.com>
Mon, 8 Jan 2024 05:49:27 +0000 (14:49 +0900)
committerGilbok Lee <gilbok.lee@samsung.com>
Mon, 8 Jan 2024 06:02:42 +0000 (15:02 +0900)
Change-Id: I4203b908e74c358319b3a580134a27648fb579d4

src/trackrenderer.cpp

index ced5b96c930561a4ff4f4210e4e9e9c262e36d74..9a20ec14c89b7bfc5e7baeeb770bd135c727a0af 100644 (file)
@@ -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;