[FFmpeg-devel] [PATCH] fftools/ffmpeg_mux: replace monotonous with monotonic

Kieran Kunhya kierank at obe.tv
Wed Aug 30 18:49:03 EEST 2023


On Tue, 29 Aug 2023 at 21:58, Leo Izen <leo.izen at gmail.com> wrote:

> The word "monotonous" means "spoken in a monotone" which is not what we
> mean here. We mean "monotonic" i.e. nondecreasing.
>
> Signed-off-by: Leo Izen <leo.izen at gmail.com>
> ---
>  fftools/ffmpeg_mux.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/fftools/ffmpeg_mux.c b/fftools/ffmpeg_mux.c
> index 24cdf00469..933f1e51a4 100644
> --- a/fftools/ffmpeg_mux.c
> +++ b/fftools/ffmpeg_mux.c
> @@ -99,7 +99,7 @@ static int write_packet(Muxer *mux, OutputStream *ost,
> AVPacket *pkt)
>                  int loglevel = max - pkt->dts > 2 || ost->type ==
> AVMEDIA_TYPE_VIDEO ? AV_LOG_WARNING : AV_LOG_DEBUG;
>                  if (exit_on_error)
>                      loglevel = AV_LOG_ERROR;
> -                av_log(s, loglevel, "Non-monotonous DTS in output stream "
> +                av_log(s, loglevel, "Non-monotonic DTS in output stream "
>                         "%d:%d; previous: %"PRId64", current: %"PRId64"; ",
>                         ost->file_index, ost->st->index, ms->last_mux_dts,
> pkt->dts);
>                  if (exit_on_error) {
> --
> 2.42.0
>

LGTM.

Kieran


More information about the ffmpeg-devel mailing list