fixed formatters

This commit is contained in:
Devaev Maxim
2021-01-08 03:39:29 +03:00
parent 9c679f6d5d
commit 8324b55396
2 changed files with 3 additions and 3 deletions

View File

@@ -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) {

View File

@@ -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)) {