[FFmpeg-cvslog] avformat/dump: Stream start offsets: change precision and label

softworkz git at videolan.org
Sat May 3 08:59:10 EEST 2025


ffmpeg | branch: master | softworkz <softworkz at hotmail.com> | Tue Apr 29 22:46:13 2025 +0200| [3a93fadac1ca3ccc6dc08e309ac5a2809498fdf3] | committer: softworkz

avformat/dump: Stream start offsets: change precision and label

- Change precision to 6 digits to align with other printed times
- Change label to just "Start"
- Add 's' unit to format 'start' value for consistency

Signed-off-by: softworkz <softworkz at hotmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3a93fadac1ca3ccc6dc08e309ac5a2809498fdf3
---

 libavformat/dump.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/dump.c b/libavformat/dump.c
index 8c7db7b275..c263921b99 100644
--- a/libavformat/dump.c
+++ b/libavformat/dump.c
@@ -680,7 +680,7 @@ FF_ENABLE_DEPRECATION_WARNINGS
 
     if (st->start_time != AV_NOPTS_VALUE && st->start_time != 0 && st->time_base.den && st->time_base.num) {
         const double stream_start = av_q2d(st->time_base) * st->start_time;
-        av_log(NULL, AV_LOG_INFO, ", Start-Time %.3fs", stream_start);
+        av_log(NULL, AV_LOG_INFO, ", Start %.6f", stream_start);
     }
 
     dump_disposition(st->disposition, log_level);



More information about the ffmpeg-cvslog mailing list