From 8324b55396e773e09a0dcdb62ce7abdfe0623a19 Mon Sep 17 00:00:00 2001 From: Devaev Maxim Date: Fri, 8 Jan 2021 03:39:29 +0300 Subject: [PATCH] fixed formatters --- src/libs/memsink.c | 2 +- src/ustreamer/stream.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/libs/memsink.c b/src/libs/memsink.c index 39bf7db..4d739bb 100644 --- a/src/libs/memsink.c +++ b/src/libs/memsink.c @@ -119,7 +119,7 @@ int memsink_server_put(memsink_s *sink, const frame_s *frame) { LOG_PERROR("%s sink: Can't unlock memory", sink->name); return -1; } - LOG_VERBOSE("%s sink: Exposed new frame; full exposition time = %Lf", + LOG_VERBOSE("%s sink: Exposed new frame; full exposition time = %.3Lf", sink->name, get_now_monotonic() - now); } else if (errno == EWOULDBLOCK) { diff --git a/src/ustreamer/stream.c b/src/ustreamer/stream.c index ce6d573..46996ed 100644 --- a/src/ustreamer/stream.c +++ b/src/ustreamer/stream.c @@ -377,11 +377,11 @@ static void _h264_stream_process(h264_stream_s *h264, const frame_s *frame) { if (unjpeg(frame, h264->tmp_src, true) < 0) { return; } - LOG_VERBOSE("H264: JPEG decoded; time=%Lf", get_now_monotonic() - now); + LOG_VERBOSE("H264: JPEG decoded; time=%.3Lf", get_now_monotonic() - now); } else { LOG_DEBUG("H264: Copying source to tmp buffer ..."); frame_copy(frame, h264->tmp_src); - LOG_VERBOSE("H264: Source copied; time=%Lf", get_now_monotonic() - now); + LOG_VERBOSE("H264: Source copied; time=%.3Lf", get_now_monotonic() - now); } if (!h264_encoder_is_prepared_for(h264->enc, h264->tmp_src)) {