From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id C3F6C45BE3 for ; Sat, 25 Mar 2023 15:43:47 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 9152468C982; Sat, 25 Mar 2023 17:43:44 +0200 (EET) Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 2A57D68C220 for ; Sat, 25 Mar 2023 17:43:38 +0200 (EET) Received: by mail-wm1-f54.google.com with SMTP id i5-20020a05600c354500b003edd24054e0so4804640wmq.4 for ; Sat, 25 Mar 2023 08:43:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679759017; h=user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:mail-followup-to :message-id:subject:to:from:date:from:to:cc:subject:date:message-id :reply-to; bh=6LRGHyWQA4FyMWgFDpxwRrCi5AffMA5EFmvWDviTihU=; b=jTh7LmRaUOrOo2Tq64pJIoVYvULb40/kHFXL3FqkBS7rLGpgYGnX8nrCH+iOzMd/Og b5xKiMutcFc885ZJZzVRuxZLTZVI1K2GjG7Ftenkbo9lISljbSIn1yZcGE0m2C0bRV6a bmvqeGbmGKnPN7vxX5+pIailo294S1QWCX1amZBSjIzhGuXRp5+v3DKRmG2j6YSATcUq DolxYv/GWdDnCENWXEK1VRLP8/zR+CyRQGL3g2btqwofTj1ZPvnLSmc6626E8C9iHwUE BTmMh23kCA5+WhmMj48FZlzlMNVsV1F0hrWeVxJMsCtLQHqXHarxJp3Sf/HcbzaVaXee rOVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679759017; h=user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:mail-followup-to :message-id:subject:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=6LRGHyWQA4FyMWgFDpxwRrCi5AffMA5EFmvWDviTihU=; b=Ki6eQPUG5426st3cqSKH0sNbrXPvDA534j47gJ3QFoKPHwfzoeBgAdkn+RL4vrnVtK gePGKjlTcYQUgeYYT4u8fpjIK89YUDht9fGB4OF3WroA97B/EeYiF5FhrU4xSkPen3F7 vTEwFm6mrYhR7ZY6iDmjI1a9ujMdN4uPEIeayKKKuydDSi4ExqCGPriu3qhhkP1Jsjqr NSJxugrIm2uevdhYUgV+zy8l3zopbPwSzneyVV+l/1HU6TM4UZzzcE7k2RZhj7djpjHJ /+VnFjKBgDX/Ar9h889M0P+OqdVtMqHTy791XCUiB05K/YN87B8WlxPDbLD+d0tL4HnD 361g== X-Gm-Message-State: AO0yUKUEaTUJ1g9aT7DKsxPH2A7RUQG/gm+C1qWD4f7S8LQnxd6kfobU fFMvb7KmwxZARpLHcjfA79eSHU3x/yAN9A== X-Google-Smtp-Source: AK7set/YWWemirVXcPRnrXk3gmrzGBfMm5446p3lZe/9TRYm9OQaxYEbwuoNSgPDjSEpd1IPFJ0x1w== X-Received: by 2002:a7b:ca59:0:b0:3eb:2da5:e19 with SMTP id m25-20020a7bca59000000b003eb2da50e19mr5010543wml.27.1679759016693; Sat, 25 Mar 2023 08:43:36 -0700 (PDT) Received: from mariano (dynamic-adsl-62-10-98-143.clienti.tiscali.it. [62.10.98.143]) by smtp.gmail.com with ESMTPSA id r12-20020a05600c458c00b003ee1acdaf95sm3214952wmo.36.2023.03.25.08.43.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Mar 2023 08:43:36 -0700 (PDT) Received: by mariano (Postfix, from userid 1000) id 29B1DBFB73; Sat, 25 Mar 2023 16:43:35 +0100 (CET) Date: Sat, 25 Mar 2023 16:43:35 +0100 From: Stefano Sabatini To: FFmpeg development discussions and patches Message-ID: <20230325154335.GD26811@mariano> Mail-Followup-To: FFmpeg development discussions and patches References: <20230324141927.69095-1-jeebjp@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230324141927.69095-1-jeebjp@gmail.com> User-Agent: Mutt/1.13.2 (2019-12-18) Subject: Re: [FFmpeg-devel] [PATCH] ffmpeg: make timestamp discontinuity logging a warning X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: On date Friday 2023-03-24 16:19:27 +0200, Jan Ekstr=F6m wrote: > From: Nongji Chen > = > In most cases this should only occur once or so per stream in an > input, and in case the logic ends up in an eternal loop, it should > be visible to the end user instead of being completely invisible. > = > Signed-off-by: Jan Ekstr=F6m > --- > fftools/ffmpeg.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > = > diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c > index 438bee8fef..1428988f9d 100644 > --- a/fftools/ffmpeg.c > +++ b/fftools/ffmpeg.c > @@ -3696,7 +3696,7 @@ static void ts_discontinuity_detect(InputFile *ifil= e, InputStream *ist, > if (FFABS(delta) > 1LL * dts_delta_threshold * AV_TIME_BASE = || > pkt_dts + AV_TIME_BASE/10 < FFMAX(ist->pts, ist->dts)) { > ifile->ts_offset_discont -=3D delta; > - av_log(NULL, AV_LOG_DEBUG, > + av_log(NULL, AV_LOG_WARNING, > "timestamp discontinuity for stream #%d:%d " > "(id=3D%d, type=3D%s): %"PRId64", new offset=3D %= "PRId64"\n", > ist->file_index, ist->st->index, ist->st->id, LGTM. _______________________________________________ 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".