From patchwork Wed May 11 08:16:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anton Khirnov X-Patchwork-Id: 35721 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:a885:b0:7f:4be2:bd17 with SMTP id ca5csp3780899pzb; Wed, 11 May 2022 01:17:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwKPOT39aW5caBLgc8UgJ5jcyU88S5BC+mgq61m8RXPxJCpf1YedR2R6En7m/tpAUHU145e X-Received: by 2002:a17:906:974e:b0:6f5:2d44:7e3c with SMTP id o14-20020a170906974e00b006f52d447e3cmr21028175ejy.167.1652257040501; Wed, 11 May 2022 01:17:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652257040; cv=none; d=google.com; s=arc-20160816; b=o5OjARJYdFPd+TQingc7491sLpsr0xsjPgvGbYTWLAuB2rDWwM2AUjV9E47vzg9ieH WlqbfXbUONedp3qcCfu7WlhxLgYDDFd3m4c026GMVPqR99ydSIcT6sWPSUE15phJZHRl KA4O1Cgf3Je/0F7BnSJ0cgFTXl+5mmCL67uYcsvaHjp+Dsr6jQtTGJlAtEnL9iO5Fl3d 8RVKyvP+VEvyGTN1Qj4ZEq5k0YzsaA6bd4clpk4JUpLOuVp1kSWKRqkvoFUXEywmzEke XMpusEkW4WOcsqW8c5FJQnQPumKnzwfECTzraYqlfIcFtUTTXFMdWZTedWCU8jXqo2fo ECwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:reply-to:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:subject:mime-version:references:in-reply-to:message-id :date:to:from:delivered-to; bh=Q642AAvfhrUtBOTq4TFlYOKIGE9jy1FHf3jcvbaQ3fU=; b=Kqeb3+wUFy69WiUggvacTPfN4dVg8snjX9ebcqEyWijuHRCG7BjIOv3gsbynyxeLmg VUh6ZsEqZI8ENWxDlgFonuRNzasAGZv+zevRRsmXdGfacu89JCPy3JyoF1eGIb7q3Nuj C+HDgCUxTjvtzaiFhaOIMLOxl3+Dx0MzeoJDP7/vCkCGNLCezKhI3IIjFsz1QZdWWjyD Y0KrZidzIqSvOixbXo4FPV10l+W8n3Ok8MzHigzVhwn0zig3OtON2RwRCW1x2Wbyui/p sjgVTGi/XaFGqIh37fGzYrvT8F2Bi5uZbdyvicGPQ35LiF2jDgUFU6H/ddNhbvqxYSry evCg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id oz16-20020a1709077d9000b006f379f93701si1664854ejc.843.2022.05.11.01.17.19; Wed, 11 May 2022 01:17:20 -0700 (PDT) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id B6A6068B3BB; Wed, 11 May 2022 11:17:16 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail0.khirnov.net (red.khirnov.net [176.97.15.12]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 0662668AEF0 for ; Wed, 11 May 2022 11:17:10 +0300 (EEST) Received: from localhost (localhost [IPv6:::1]) by mail0.khirnov.net (Postfix) with ESMTP id D622A240512 for ; Wed, 11 May 2022 10:17:08 +0200 (CEST) Received: from mail0.khirnov.net ([IPv6:::1]) by localhost (mail0.khirnov.net [IPv6:::1]) (amavisd-new, port 10024) with ESMTP id cBwVn7uwUobw for ; Wed, 11 May 2022 10:17:07 +0200 (CEST) Received: from libav.khirnov.net (libav.khirnov.net [IPv6:2a00:c500:561:201::7]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "libav.khirnov.net", Issuer "smtp.khirnov.net SMTP CA" (verified OK)) by mail0.khirnov.net (Postfix) with ESMTPS id 9129D24017C for ; Wed, 11 May 2022 10:17:07 +0200 (CEST) Received: by libav.khirnov.net (Postfix, from userid 1000) id A95683A0631; Wed, 11 May 2022 10:17:02 +0200 (CEST) From: Anton Khirnov To: ffmpeg-devel@ffmpeg.org Date: Wed, 11 May 2022 10:16:48 +0200 Message-Id: <20220511081654.15127-3-anton@khirnov.net> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220511081654.15127-1-anton@khirnov.net> References: <20220511081654.15127-1-anton@khirnov.net> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 3/9] fftools/ffmpeg: reindent after previous commit 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 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: yAIdc4Rbs1o+ --- fftools/ffmpeg.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c index 9fa0719cf6..69b9c42822 100644 --- a/fftools/ffmpeg.c +++ b/fftools/ffmpeg.c @@ -840,15 +840,15 @@ static int encode_frame(OutputFile *of, OutputStream *ost, AVFrame *frame) int ret; if (frame) { - ost->frames_encoded++; + ost->frames_encoded++; - if (debug_ts) { - av_log(NULL, AV_LOG_INFO, "encoder <- type:%s " - "frame_pts:%s frame_pts_time:%s time_base:%d/%d\n", - type_desc, - av_ts2str(frame->pts), av_ts2timestr(frame->pts, &enc->time_base), - enc->time_base.num, enc->time_base.den); - } + if (debug_ts) { + av_log(NULL, AV_LOG_INFO, "encoder <- type:%s " + "frame_pts:%s frame_pts_time:%s time_base:%d/%d\n", + type_desc, + av_ts2str(frame->pts), av_ts2timestr(frame->pts, &enc->time_base), + enc->time_base.num, enc->time_base.den); + } } update_benchmark(NULL);