History

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

softworkz committed 1 year ago

Commit 3a93fad1 parent 33d0d1c1 file · +1 −1Browse files

Unified · Split

libavformat/dump.c+1−1
@@ -680,7 +680,7 @@ FF_ENABLE_DEPRECATION_WARNINGS · 679 unmodified lines
680680
681681 if (st->start_time != AV_NOPTS_VALUE && st->start_time != 0 && st->time_base.den && st->time_base.num) {
682682 const double stream_start = av_q2d(st->time_base) * st->start_time;
683− av_log(NULL, AV_LOG_INFO, ", Start-Time %.3fs", stream_start);
683+ av_log(NULL, AV_LOG_INFO, ", Start %.6f", stream_start);
684684 }
685685
686686 dump_disposition(st->disposition, log_level);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t