remove redundant log
authorxiaoye.xie <xiaoye.xie@samsung.com>
Fri, 1 Nov 2024 15:22:02 +0000 (23:22 +0800)
committerxiaoye.xie <xiaoye.xie@samsung.com>
Fri, 1 Nov 2024 15:22:02 +0000 (23:22 +0800)
Signed-off-by: xiaoye.xie <xiaoye.xie@samsung.com>
src/esplusplayer/src/esplayer.cpp

index eb876a27d9b587602775ebb0fdbe3853e42d3c56..9a59495e95b7021e5c7020ebfe70a8b66bc2909c 100755 (executable)
@@ -1348,13 +1348,11 @@ void EsPlayer::GetSrcQueueCurrentSize_(const TrackType& type,
   } else
     return;
 
-  if (byte_size_.type() == typeid(uint64_t))
-    LOG_ERROR("type is %d byte size is %" PRIu64 "\n", type, boost::any_cast<uint64_t>(byte_size_));
-  else LOG_ERROR("byte_size_ Type mismatch.");
+  if (byte_size_.type() != typeid(uint64_t))
+    LOG_ERROR("byte_size_ Type mismatch.");
 
-  if (time_size_.type() == typeid(uint64_t))
-    LOG_ERROR("type is %d time size is %" PRIu64 "\n", type, boost::any_cast<uint64_t>(time_size_));
-  else LOG_ERROR("time_size_ Type mismatch.");
+  if (time_size_.type() != typeid(uint64_t))
+    LOG_ERROR("time_size_ Type mismatch.");
 
   try {
     *byte_size = boost::any_cast<std::uint64_t>(byte_size_);