From patchwork Sat Feb 11 21:57:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pavel Machek X-Patchwork-Id: 18275 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 30801BDB1C for ; Sat, 11 Feb 2023 21:57:58 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 7E20A625F4; Sat, 11 Feb 2023 22:57:57 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1676152677; bh=VxqOjRpKaOUkJCiiH1i5WdeqeqMNJ9lOr1j334+LQ7Q=; h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=w1ybIfm5uphfuZwpsH7ztT0NVz+JT67KImFHiseEnY5uT4vm3EDNxe1OZyOTEReeE Ts7RGDHk9L9Sk4cNvXEcJRKn+F+uclcQDfakxFZmn8QbIqy2Rrjfi65Koncb5GPMqJ 1mKaooCa6SI3snw7yy3t9J9zw0ahh7g3aaQvg2FiVkbMpWeAnHRKCZGIWjT3RpMUqj qT9QV9BW/UX6j9EYJYNqfwEDj1/OqU3fA97l9N+VDAzJagU2laYLpskqBcT0lmt0d1 cnMR+ATTzpC/QMjQqmt5l3FQFR2ZBfP7C1l0e/l4BfdGY7RYb+VOw5aJ/8N4ltLj8d Bp/qa6UnOFIow== Received: from jabberwock.ucw.cz (jabberwock.ucw.cz [46.255.230.98]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 6287361EF1 for ; Sat, 11 Feb 2023 22:57:56 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ucw.cz header.i=@ucw.cz header.b="PrWVJVsu"; dkim-atps=neutral Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id CEA8D1C0AB3; Sat, 11 Feb 2023 22:57:55 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucw.cz; s=gen1; t=1676152675; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=nV7stEZgiwE644tVmDxPpngLDbwymYFKTOyeteIhy7k=; b=PrWVJVsuUcNHIYVDhxXbHohr2/h4hvnEmY2ywoV7s7GCUU+7mHnBsJUyxkAT92N+SKDXdr YAZXHSSbXgxr/RiLjm/3QfYMTGCCrtws+z51uUF4nXCEr9gY74RhzL3D6CLkrJcSakCUMp /Wl4fZoTh/GiNGYLTIZVxj3U9y6sLFc= Date: Sat, 11 Feb 2023 22:57:55 +0100 To: libcamera-devel@lists.libcamera.org Message-ID: MIME-Version: 1.0 Content-Disposition: inline Subject: [libcamera-devel] [PATCH] qcam: Tell user if we have TIFF support X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Pavel Machek via libcamera-devel From: Pavel Machek Reply-To: Pavel Machek Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" User may wonder why he can't take images. Add line to help text expaining if we have TIFF support. Signed-off-by: Pavel Machek diff --git a/src/apps/qcam/main.cpp b/src/apps/qcam/main.cpp index 36cb93a5..36ee16ab 100644 --- a/src/apps/qcam/main.cpp +++ b/src/apps/qcam/main.cpp @@ -46,8 +46,14 @@ OptionsParser::Options parseOptions(int argc, char *argv[]) "Print verbose log messages", "verbose"); OptionsParser::Options options = parser.parse(argc, argv); - if (options.isSet(OptHelp)) + if (options.isSet(OptHelp)) { parser.usage(); +#ifdef HAVE_TIFF + qInfo() << "TIFF/DNG support available."; +#else + qInfo() << "TIFF/DNG support NOT available, taking still images not possible"; +#endif + } return options; }