Fix Coverity issue 24/263524/4 accepted/tizen_6.5_unified tizen_6.5 accepted/tizen/6.5/unified/20211028.123117 accepted/tizen/unified/20210908.020320 submit/tizen/20210906.062200 submit/tizen_6.5/20211028.162401 tizen_6.5.m2_release
authorGilbok Lee <gilbok.lee@samsung.com>
Mon, 6 Sep 2021 02:39:29 +0000 (11:39 +0900)
committerGilbok Lee <gilbok.lee@samsung.com>
Mon, 6 Sep 2021 05:26:13 +0000 (14:26 +0900)
Change-Id: I053fc4dbea65cf205e63d8b9839e06538478a3b5

src/trackrenderer_debug.cpp

index 1d1fb33f234933c7cc2b5a87a91b7882dd44af2a..bac2b4e44ed39d9233966c1c94ac739dea71ebe2 100644 (file)
@@ -207,8 +207,10 @@ void FillMsgWithStreamInfo(const StreamInfo& in_info,
   }
 
   if (in_info.fps > 0.0) {
-    *out_message << "&v_framerate=" << std::fixed << std::setprecision(2)
+    std::stringstream fps;
+    fps << "&v_framerate=" << std::fixed << std::setprecision(2)
                  << in_info.fps << "fps";
+    *out_message << fps.str();
   }
 
   if (in_info.drm_type > drm::Type::kNone) {