mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-06 15:49:50 +08:00
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@hotmail.com>
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user