Re: [FFmpeg-devel] [PATCH] avutil/timestamp: keep microsecond precision in av_ts_make_time_string

2024-03-22 Thread Andreas Rheinhardt
Marton Balint: > > > On Wed, 20 Mar 2024, Andreas Rheinhardt wrote: > >> Andreas Rheinhardt: >>> Marton Balint: av_ts_make_time_string() used "%.6g" format in the past, but this format was losing precision even when the timestamp to be printed was not that large. For

Re: [FFmpeg-devel] [PATCH] avutil/timestamp: keep microsecond precision in av_ts_make_time_string

2024-03-22 Thread Marton Balint
On Wed, 20 Mar 2024, Marton Balint wrote: On Wed, 20 Mar 2024, Andreas Rheinhardt wrote: Andreas Rheinhardt: Marton Balint: av_ts_make_time_string() used "%.6g" format in the past, but this format was losing precision even when the timestamp to be printed was not that large. For

Re: [FFmpeg-devel] [PATCH] avutil/timestamp: keep microsecond precision in av_ts_make_time_string

2024-03-20 Thread Marton Balint
On Wed, 20 Mar 2024, Andreas Rheinhardt wrote: Andreas Rheinhardt: Marton Balint: av_ts_make_time_string() used "%.6g" format in the past, but this format was losing precision even when the timestamp to be printed was not that large. For example for 3 hours (10800) seconds, only 1 decimal

Re: [FFmpeg-devel] [PATCH] avutil/timestamp: keep microsecond precision in av_ts_make_time_string

2024-03-20 Thread Andreas Rheinhardt
Andreas Rheinhardt: > Marton Balint: >> av_ts_make_time_string() used "%.6g" format in the past, but this format was >> losing precision even when the timestamp to be printed was not that large. >> For >> example for 3 hours (10800) seconds, only 1 decimal digit was printed, which >> made this

Re: [FFmpeg-devel] [PATCH] avutil/timestamp: keep microsecond precision in av_ts_make_time_string

2024-03-19 Thread Andreas Rheinhardt
Marton Balint: > av_ts_make_time_string() used "%.6g" format in the past, but this format was > losing precision even when the timestamp to be printed was not that large. For > example for 3 hours (10800) seconds, only 1 decimal digit was printed, which > made this format inaccurate when it was

Re: [FFmpeg-devel] [PATCH] avutil/timestamp: keep microsecond precision in av_ts_make_time_string

2024-03-19 Thread Marton Balint
On Mon, 18 Mar 2024, Marton Balint wrote: av_ts_make_time_string() used "%.6g" format in the past, but this format was losing precision even when the timestamp to be printed was not that large. For example for 3 hours (10800) seconds, only 1 decimal digit was printed, which made this format

[FFmpeg-devel] [PATCH] avutil/timestamp: keep microsecond precision in av_ts_make_time_string

2024-03-17 Thread Marton Balint
av_ts_make_time_string() used "%.6g" format in the past, but this format was losing precision even when the timestamp to be printed was not that large. For example for 3 hours (10800) seconds, only 1 decimal digit was printed, which made this format inaccurate when it was used in e.g. the