From patchwork Tue Dec 1 17:43:10 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Umang Jain X-Patchwork-Id: 10530 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 C81B1BE177 for ; Tue, 1 Dec 2020 17:43:24 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 4531A63501; Tue, 1 Dec 2020 18:43:24 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=uajain.com header.i=@uajain.com header.b="EVIWlFb3"; dkim-atps=neutral Received: from mail.uajain.com (static.126.159.217.95.clients.your-server.de [95.217.159.126]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 6474963460 for ; Tue, 1 Dec 2020 18:43:22 +0100 (CET) From: Umang Jain DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=uajain.com; s=mail; t=1606844601; bh=Rd6SaG5WyTXCh4XoeCeYpMSu4qV/FYFOCQCzNf12TPc=; h=From:To:Cc:Subject; b=EVIWlFb3/bkkTdsrU9rxozvwOr00xUU5a9gduA4t5Nvp6SHAdjeQzo6p/9BhgclTC LPRFtrD3uoqaMUg5j4AHAZXfFm9WYFNaR7JrlpcygjqnzRGpQUBeUJaYbw/UsbrD2z 6h/mMsPZxfuwnoW2jzt82Gis/xZv66kduhKzxQkQ5tze7k5kL5SycFGoLRfycEDm4N uyS3V8t7GNf8sY94WDB0N1Zi5bX0YCMdYyur6Dn7MOhhMjFaCVQ3HouyPXBOKQ3Igl h7d7ZDH2SZgLn5IGfRZflwDhCc+sOphP35ufF0bKsS1o8vCgvNWKr8obQFw7P+is7Y qlzw1byZzC5yA== To: libcamera-devel@lists.libcamera.org Date: Tue, 1 Dec 2020 23:13:10 +0530 Message-Id: <20201201174314.12774-1-email@uajain.com> Mime-Version: 1.0 Subject: [libcamera-devel] [PATCH v2 0/4] simple-cam: Provide event-loop backed by libevent 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: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Changes in v2: Add extra patch(1/4) to make return codes of main() consistent according to standard. Umang Jain (4): simple-cam: Make return codes consistent for main() simple-cam: Early return if no cameras are found on the system. simple-cam: Fix documentation typo simple-cam: Provide event-loop backed by libevent meson.build | 1 + simple-cam.cpp | 120 ++++++++++++++++++++++++++++++++++++++++++------- 2 files changed, 104 insertions(+), 17 deletions(-)