{"id":11750,"url":"https://patchwork.libcamera.org/api/1.1/covers/11750/?format=json","web_url":"https://patchwork.libcamera.org/cover/11750/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/1.1/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20210329002715.74403-1-hiroh@chromium.org>","date":"2021-03-29T00:27:12","name":"[libcamera-devel,0/3] Handle an request error","submitter":{"id":63,"url":"https://patchwork.libcamera.org/api/1.1/people/63/?format=json","name":"Hirokazu Honda","email":"hiroh@chromium.org"},"mbox":"https://patchwork.libcamera.org/cover/11750/mbox/","series":[{"id":1856,"url":"https://patchwork.libcamera.org/api/1.1/series/1856/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=1856","date":"2021-03-29T00:27:12","name":"Handle an request error","version":1,"mbox":"https://patchwork.libcamera.org/series/1856/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/11750/comments/","headers":{"Return-Path":"<libcamera-devel-bounces@lists.libcamera.org>","X-Original-To":"parsemail@patchwork.libcamera.org","Delivered-To":"parsemail@patchwork.libcamera.org","Received":["from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id 0B78FC32ED\n\tfor <parsemail@patchwork.libcamera.org>;\n\tMon, 29 Mar 2021 00:27:27 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 492C26877D;\n\tMon, 29 Mar 2021 02:27:26 +0200 (CEST)","from mail-pl1-x62e.google.com (mail-pl1-x62e.google.com\n\t[IPv6:2607:f8b0:4864:20::62e])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 9D9C1602D2\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 29 Mar 2021 02:27:24 +0200 (CEST)","by mail-pl1-x62e.google.com with SMTP id h8so3573350plt.7\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tSun, 28 Mar 2021 17:27:24 -0700 (PDT)","from hiroh2.tok.corp.google.com\n\t([2401:fa00:8f:2:1db7:ae60:9288:b906])\n\tby smtp.gmail.com with ESMTPSA id\n\tj188sm15227209pfd.64.2021.03.28.17.27.21\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tSun, 28 Mar 2021 17:27:22 -0700 (PDT)"],"Authentication-Results":"lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=chromium.org header.i=@chromium.org\n\theader.b=\"dH/CevMC\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org;\n\ts=google; h=from:to:cc:subject:date:message-id:mime-version\n\t:content-transfer-encoding;\n\tbh=n3mzyE+/Rsyt1Tn/kU9yEaKvRTgrWUFEOpVHdPnzUnA=;\n\tb=dH/CevMCKOEJkitrNmLYDsGUHuEmhk3iOItCbhJNk2siHUWAIXYxujMBgyMSvNLnAJ\n\tlBoR04G3XoA4x9t38x3FddcBatP+c9THyS67nBubKuNJxqJMZaGSg/l61PTPfw7AJORP\n\tM67TmhxkWGXAXz0tcKSF8e6JxkWyD9aeLyM3M=","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version\n\t:content-transfer-encoding;\n\tbh=n3mzyE+/Rsyt1Tn/kU9yEaKvRTgrWUFEOpVHdPnzUnA=;\n\tb=J5XmRVL+wF6DhVj4gz2abyKjoeR5HdPpjk4BQSABPgMZIjyoJ8dhr92nUPI552a1wz\n\tQiBrIrR0/nZASp6lUazby1K0IQM1i/DuRlecMxRWXViFZ10x6X/pXLxFM8juKyTRd9aS\n\tdtzjUtdcximnIT7CU8hdKYMderRdrihGDx/08umPLMZvq74rDqIJ4gfx5fLr5k5LxRlY\n\tOwqteOmri5QvP8XEOkyeuWajjhoozfK/W85VL41HvQEurnBGBDDTmQwPn5/nmrtM9W+5\n\tb0ljTr0+o4bMKP1OCfnw42Ae8rNJIeCXIgvwmaKRw6Jo7GK4/tWKemZ0BFR3K9uwRzZo\n\tJB7Q==","X-Gm-Message-State":"AOAM531USRDUe7eqDRCzi/7V6j/cOPl/p9kpQXIWrDxmPj5nw4x3Fgi7\n\tL7vvt/pJx8mUPL5Z1at5WSLbQydENkidoA==","X-Google-Smtp-Source":"ABdhPJybWS9wjyX50rt/ksg4M7cDVt3sYLnYk0bllFJJ00gWjzH0IofvC0ODetK8P8XPO5z2ldraIQ==","X-Received":"by 2002:a17:902:a715:b029:e7:147e:fe90 with SMTP id\n\tw21-20020a170902a715b02900e7147efe90mr21402538plq.66.1616977643094; \n\tSun, 28 Mar 2021 17:27:23 -0700 (PDT)","From":"Hirokazu Honda <hiroh@chromium.org>","To":"libcamera-devel@lists.libcamera.org","Date":"Mon, 29 Mar 2021 09:27:12 +0900","Message-Id":"<20210329002715.74403-1-hiroh@chromium.org>","X-Mailer":"git-send-email 2.31.0.291.g576ba9dcdaf-goog","MIME-Version":"1.0","Subject":"[libcamera-devel] [PATCH 0/3] Handle an request error","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"PipelineHandler doesn't notify a client an error during\nprocessing a capture request. This addresses the issue by adding\nthe error value to Request, so that each Camera client can handle\na request error in the request completion.\n\nHirokazu Honda (3):\n  libcamera: PipelineHandler: Make queueRequest() void function\n  libcamera: Request: Add an error value\n  Regard a request error in the request completion\n\n .../guides/application-developer.rst          |  4 ++--\n include/libcamera/internal/pipeline_handler.h |  2 +-\n include/libcamera/request.h                   |  2 ++\n src/android/camera_device.cpp                 |  6 ++++--\n src/cam/capture.cpp                           |  4 +++-\n src/gstreamer/gstlibcamerasrc.cpp             |  4 ++++\n src/libcamera/camera.cpp                      |  6 ++++--\n src/libcamera/pipeline_handler.cpp            | 10 ++++-----\n src/libcamera/request.cpp                     | 21 ++++++++++++++-----\n src/qcam/main_window.cpp                      |  4 +++-\n src/v4l2/v4l2_camera.cpp                      |  4 +++-\n test/camera/buffer_import.cpp                 |  4 +++-\n test/camera/capture.cpp                       |  4 +++-\n 13 files changed, 53 insertions(+), 22 deletions(-)\n\n--\n2.31.0.291.g576ba9dcdaf-goog"}