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 CCFCF47243 for ; Sat, 2 Sep 2023 15:19:55 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 6837468C7A5; Sat, 2 Sep 2023 18:19:43 +0300 (EEST) Received: from mail-wr1-f44.google.com (mail-wr1-f44.google.com [209.85.221.44]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 3CB0F68C64C for ; Sat, 2 Sep 2023 18:19:36 +0300 (EEST) Received: by mail-wr1-f44.google.com with SMTP id ffacd0b85a97d-31c5cac3ae2so2445397f8f.3 for ; Sat, 02 Sep 2023 08:19:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693667975; x=1694272775; darn=ffmpeg.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Jv3IXg8al6xj/TXRt/CbQXsOSFsLhbsocywh39sJr6I=; b=F6qC5Nkb/1QETaz5IebWkFYMbPDpc7RZeh2w0if2GkE5ZNqaUzaFJIqV9K35wddtJE hdxdg8domtRDzh9yMxXFzs8jGfNMKvf00HdW6a8bujzYkmKV1p65gEJqh+lTJMY5ydz+ R+lazQXvdytDvPOFPVk5wr9X/KqwxY0nPGqJiCGL+cNajAGafa8Nl9o/RmgmYuyZJ3A6 Dua46qYG9Tr32E275XxWv7Mo4gB5TKl/JvMWV1UEu8Ip3Guaj2jAv/NucMcJ3X9WXjAp 6hWy06ORN3PVemer3VUp8wRZc8BQEW3Rd0OGXwRBgHfP2CrDwsqPYOBuhSfAP75xV3eY EDfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693667975; x=1694272775; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Jv3IXg8al6xj/TXRt/CbQXsOSFsLhbsocywh39sJr6I=; b=YHoz0sJfo9fngMk+pCl+iz4BzwrW44IvmmwGtWsK1JKfXP65/lWDIRqPT+cOE0CmGc PaVCLB0Vh6l+9Kk64ShSZGneAfOTYTIDvgNY7vUiVpvLsl1mYrh/dp+JqyrNVvdKRI2o PnLg8e+F7+WH5S2MVFInp5qgKUCNqodcPCMGp6FfnPFrHiP1HYZyp3TQ4e1CB2vvC9IZ HWYpNGXvzP/cGyqXsq5kgtYWXMvg6FnzxkM0sCpSTCdH1SE9CFRaEHtN97fzFQMGBLOB uah0P8IamHDq+/P4DWM2IPiPY6kGGIct+YlyD/LNnZuToDkx26yyDsdKOD01w3Be2n1+ O7pQ== X-Gm-Message-State: AOJu0YxbcTIesz8KVEi/jCs8zD/mmMH7Qxnr5TfjbroVbFrzElGb0VjS rBy6ga1f/WTNPgnSQvHvsmmxVNxKKKk= X-Google-Smtp-Source: AGHT+IGsS4L4FTx3mSXY4cfmWCmZPpMAnKDCk+z8qjxGH+lqaJ+UT/ycrqB+4Vngh8RfcFHLiw3L2A== X-Received: by 2002:a5d:6ac3:0:b0:317:67bf:3387 with SMTP id u3-20020a5d6ac3000000b0031767bf3387mr3519768wrw.60.1693667974634; Sat, 02 Sep 2023 08:19:34 -0700 (PDT) Received: from mariano ([82.84.194.139]) by smtp.gmail.com with ESMTPSA id m13-20020a7bce0d000000b003fed630f560sm8292882wmc.36.2023.09.02.08.19.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 02 Sep 2023 08:19:32 -0700 (PDT) Received: by mariano (Postfix, from userid 1000) id 4057DBFCDE; Sat, 2 Sep 2023 17:19:31 +0200 (CEST) From: Stefano Sabatini To: FFmpeg development discussions and patches Date: Sat, 2 Sep 2023 17:19:12 +0200 Message-Id: <20230902151921.1712373-3-stefasab@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230902151921.1712373-1-stefasab@gmail.com> References: <20230902151921.1712373-1-stefasab@gmail.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 02/11] lavfi/aresample: show time_base information during setup 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 Cc: Stefano Sabatini Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --- libavfilter/af_aresample.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/libavfilter/af_aresample.c b/libavfilter/af_aresample.c index f4bcc45616..b71ed5b91c 100644 --- a/libavfilter/af_aresample.c +++ b/libavfilter/af_aresample.c @@ -28,6 +28,7 @@ #include "libavutil/channel_layout.h" #include "libavutil/opt.h" #include "libavutil/samplefmt.h" +#include "libavutil/timestamp.h" #include "libavutil/avassert.h" #include "libswresample/swresample.h" #include "avfilter.h" @@ -164,9 +165,9 @@ static int config_output(AVFilterLink *outlink) av_channel_layout_describe(&inlink ->ch_layout, inchl_buf, sizeof(inchl_buf)); av_channel_layout_describe(&outlink->ch_layout, outchl_buf, sizeof(outchl_buf)); - av_log(ctx, AV_LOG_VERBOSE, "ch:%d chl:%s fmt:%s r:%dHz -> ch:%d chl:%s fmt:%s r:%dHz\n", - inlink ->ch_layout.nb_channels, inchl_buf, av_get_sample_fmt_name(inlink->format), inlink->sample_rate, - outlink->ch_layout.nb_channels, outchl_buf, av_get_sample_fmt_name(outlink->format), outlink->sample_rate); + av_log(ctx, AV_LOG_VERBOSE, "ch:%d chl:%s fmt:%s r:%dHz tb:%d/%d -> ch:%d chl:%s fmt:%s r:%dHz tb:%d/%d\n", + inlink ->ch_layout.nb_channels, inchl_buf, av_get_sample_fmt_name(inlink->format), inlink->sample_rate, inlink->time_base.num, inlink->time_base.den, + outlink->ch_layout.nb_channels, outchl_buf, av_get_sample_fmt_name(outlink->format), outlink->sample_rate, outlink->time_base.num, outlink->time_base.den); return 0; } -- 2.34.1 _______________________________________________ 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".