From c30f9a3ce59ec9a8bd277d7eb9ef03f340d0e377 Mon Sep 17 00:00:00 2001 From: Martin Pulec Date: Thu, 11 Apr 2024 11:58:43 +0200 Subject: [PATCH] to_lavc_vid_conv debug time dump fixed - wrong conversion constant used - typo - forAMt instead of format --- src/libavcodec/to_lavc_vid_conv.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/libavcodec/to_lavc_vid_conv.c b/src/libavcodec/to_lavc_vid_conv.c index c179cdea9..a0e113496 100644 --- a/src/libavcodec/to_lavc_vid_conv.c +++ b/src/libavcodec/to_lavc_vid_conv.c @@ -1868,8 +1868,9 @@ struct AVFrame *to_lavc_vid_conv(struct to_lavc_vid_conv *s, char *in_data) { } } time_ns_t t2 = get_time_in_ns(); - log_msg(LOG_LEVEL_DEBUG2, MOD_NAME "duration uv pixfmt change: %f ms, av foramt change: %f ms\n", - (t1 - t0) / MS_IN_SEC_DBL, (t2 - t1) / MS_IN_SEC_DBL); + MSG(DEBUG2, + "duration uv pixfmt change: %f ms, av format change: %f ms\n", + (t1 - t0) / NS_IN_MS_DBL, (t2 - t1) / NS_IN_MS_DBL); return frame; };