Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
* [FFmpeg-devel] [PATCH] fftools/ffmpeg_mux: replace monotonous with monotonic
@ 2023-08-29 20:57 Leo Izen
  2023-08-30 15:49 ` Kieran Kunhya
  0 siblings, 1 reply; 2+ messages in thread
From: Leo Izen @ 2023-08-29 20:57 UTC (permalink / raw)
  To: ffmpeg-devel; +Cc: Leo Izen

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@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

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [FFmpeg-devel] [PATCH] fftools/ffmpeg_mux: replace monotonous with monotonic
  2023-08-29 20:57 [FFmpeg-devel] [PATCH] fftools/ffmpeg_mux: replace monotonous with monotonic Leo Izen
@ 2023-08-30 15:49 ` Kieran Kunhya
  0 siblings, 0 replies; 2+ messages in thread
From: Kieran Kunhya @ 2023-08-30 15:49 UTC (permalink / raw)
  To: FFmpeg development discussions and patches; +Cc: Leo Izen

On Tue, 29 Aug 2023 at 21:58, Leo Izen <leo.izen@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@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
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-08-30 15:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-29 20:57 [FFmpeg-devel] [PATCH] fftools/ffmpeg_mux: replace monotonous with monotonic Leo Izen
2023-08-30 15:49 ` Kieran Kunhya

Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
		ffmpegdev@gitmailbox.com
	public-inbox-index ffmpegdev

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git