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 2D26447A3C for ; Wed, 26 Jun 2024 14:11:10 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id C1C4F68D594; Wed, 26 Jun 2024 17:10:35 +0300 (EEST) Received: from mail-pj1-f53.google.com (mail-pj1-f53.google.com [209.85.216.53]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id B244068D4AF for ; Wed, 26 Jun 2024 17:10:27 +0300 (EEST) Received: by mail-pj1-f53.google.com with SMTP id 98e67ed59e1d1-2c5362c7c0bso5009006a91.1 for ; Wed, 26 Jun 2024 07:10:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719411026; x=1720015826; darn=ffmpeg.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=fBoy4yWIVm2nOk+gyn6rkNZ9Wdo3m49dPii9PTq+fnk=; b=geIo9e0OL4/ZvyzQgfnkvu0/xs/VeOcumI5BJY2hn0kgFWpK3H7oxIFGQgYK2EgWZy YzvxEX3g2IcL+kxtAZjI7ncPNiJ0Nt1HpkM/+zQrqO1UAag/TGyx+Ki32TVS+9XMc4/e EM30hlOQ+0NBUdPNWolZJf3hehYdsU8pcVKDL1K0teFNmwXO204S/sfgU+/p39bibUa6 jLOLr72TlPCaYBNcvk0ubB8CCiDjWQxOHSIKDPWk96YPv3oOCIKI5WNNxPh/Ojm0OB5R iAVBnYcF5FzBuS7YT8/Pefpwajm1TU7pN1BqfVDErvl5Rs8MU+X9SSZGDPqEEi1azFuv Waog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719411026; x=1720015826; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=fBoy4yWIVm2nOk+gyn6rkNZ9Wdo3m49dPii9PTq+fnk=; b=tuoKgfj1qFdD9dNVL6yNeRUqIV1J1zK3itsKjnK0PJJwPMSyeYlrcRaloZwWSM15p3 vIZ2/nG/7A69fij9PpkyX8JKKDUNWavOeXaQBqEO9AJNC4NLixOpfcLIn/WEk6y/N9xh FN17aihautfgOLLmac91+P9Kr4v1mlQdv/fZXGZFUwysBj2lwjuPTiPUbaJLGt5dkZii wbkWHq9CuKTZdlXAJCrNOD5o3uiFamy8FwreJt1GCLz9J0zGHanwQmuPFebLNEH0VCrL 5k6jttl/DKvOw24/+iWnVHs/l3L9zR4VnlT4JoniAexdhKFqGh8HJ9ypCkCrqOTs7p7/ rM1g== X-Gm-Message-State: AOJu0YzU0qLefZJoM+I1W/sSgqd78z0PUeQhPmZTqZamDCSc2M2P3KiK /vx7EN285flTxIWJNInYsY+AWu5txa1j1bCPK5UdrsxtCOnrdIRdEfLiBw== X-Google-Smtp-Source: AGHT+IHu27ea3BVPPkaVouyNW9Xm94vnqIvMKZ6g6UTVy2W221q5BR2B2WcfOVJJ6E7fVmpvH5njIQ== X-Received: by 2002:a17:90b:4c8f:b0:2c2:f2f9:a121 with SMTP id 98e67ed59e1d1-2c8614911e8mr8702815a91.39.1719411025544; Wed, 26 Jun 2024 07:10:25 -0700 (PDT) Received: from localhost.localdomain ([190.194.167.233]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2c8d80609aesm1692308a91.31.2024.06.26.07.10.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Jun 2024 07:10:25 -0700 (PDT) From: James Almer To: ffmpeg-devel@ffmpeg.org Date: Wed, 26 Jun 2024 11:10:13 -0300 Message-ID: <20240626141014.6442-4-jamrial@gmail.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240626141014.6442-1-jamrial@gmail.com> References: <20240626141014.6442-1-jamrial@gmail.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 4/5] avfilter/vf_showinfo: only print yaw, pitch, and roll if set 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="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: Signed-off-by: James Almer --- libavfilter/vf_showinfo.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavfilter/vf_showinfo.c b/libavfilter/vf_showinfo.c index 98c5632d52..72b91329d2 100644 --- a/libavfilter/vf_showinfo.c +++ b/libavfilter/vf_showinfo.c @@ -80,10 +80,12 @@ static void dump_spherical(AVFilterContext *ctx, AVFrame *frame, const AVFrameSi av_log(ctx, AV_LOG_INFO, "%s ", av_spherical_projection_name(spherical->projection)); + if (spherical->yaw || spherical->pitch || spherical->roll) { yaw = ((double)spherical->yaw) / (1 << 16); pitch = ((double)spherical->pitch) / (1 << 16); roll = ((double)spherical->roll) / (1 << 16); av_log(ctx, AV_LOG_INFO, "(%f/%f/%f) ", yaw, pitch, roll); + } if (spherical->projection == AV_SPHERICAL_EQUIRECTANGULAR_TILE) { size_t l, t, r, b; -- 2.45.2 _______________________________________________ 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".