From patchwork Tue Aug 9 13:21:43 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gary Bisson X-Patchwork-Id: 657258 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3s7w14093qz9sCY for ; Tue, 9 Aug 2016 23:21:59 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=boundarydevices-com.20150623.gappssmtp.com header.i=@boundarydevices-com.20150623.gappssmtp.com header.b=UfkDG9qn; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 932E287D07; Tue, 9 Aug 2016 13:21:57 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2oGHiDLFCylT; Tue, 9 Aug 2016 13:21:54 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id C8DA487C9D; Tue, 9 Aug 2016 13:21:54 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 3A36F1C1677 for ; Tue, 9 Aug 2016 13:21:53 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 36AE586CD3 for ; Tue, 9 Aug 2016 13:21:53 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TkK9yz6NbX-T for ; Tue, 9 Aug 2016 13:21:52 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f51.google.com (mail-wm0-f51.google.com [74.125.82.51]) by whitealder.osuosl.org (Postfix) with ESMTPS id 56B368798B for ; Tue, 9 Aug 2016 13:21:52 +0000 (UTC) Received: by mail-wm0-f51.google.com with SMTP id q128so33039708wma.1 for ; Tue, 09 Aug 2016 06:21:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=boundarydevices-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=WXcUgzAf+O/u55ZLaVqG6cijHi4Wfy24w36y8nG+dYw=; b=UfkDG9qnO88ahXO/SublhXairhZs6Kcc2bZA13bnbjcBnBLJnywkKjNTxcnL4ZSR8b BdZM0CgniKVZ6iF5ANgl/b6O4iHWGvx/mCxXNyqCOqBv2dLWfUjeWiE+Ue83MC/inobx VXIHpXZE+ZNiVKGhERKjnCuM3yMjG/nqStneq2WnWEG7X7/VZmT4IAjtuyyS8Scsi+v1 ojHOS2xYoDyeBc+f2tl+pG+OJ+8AuHJoYw+kMpYDfKSISNdJ1pJ/uVmCFCHASB3Tqyxd ZUj7CPx26MLnSiXo1pvWEuTXfi4h+xdJxhexIWGuM5BwvzAQeQbIq/DX5P6nIBsJtRvj aBtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=WXcUgzAf+O/u55ZLaVqG6cijHi4Wfy24w36y8nG+dYw=; b=ZbV/2mP8DxHr/0CBBWmczvIPef6Zk9HZoDSes1HAIhtCAJKWD2d5iwz56F4sdRMQls kjszpun3TJuDTXThKWCRgW/JcKcvhKkLwy67DrhJUF6sYdyjOca29CALxgIgy4NDXBTo O7Dd+MT7TapT1kp5TF481+auFIZTkuxqqH0lb+e8evPE9eetOQoDhxrHvtF+2F6RNyd4 vzgUFsBqUDODHu0uSdFtBN4jtU6s+jrpHYGakoZkAte+NN0jbRKC5rsKcKGejlLFaDWb tXMFqkf4OIuGW0V0qsfzwXwOGRo4Z6FxR2r/MUxqVZu6MOHPn2JlE4gKcUGtVz5/wr4G zQpg== X-Gm-Message-State: AEkoousHfIiLXU4UA5a7WAJhTHieBdwIA74Rub+yAX2Pd9z4kAnvryt6xItVmmBIXSwT3g== X-Received: by 10.194.100.129 with SMTP id ey1mr87164398wjb.60.1470748910558; Tue, 09 Aug 2016 06:21:50 -0700 (PDT) Received: from t450s.lan (89-92-156-188.hfc.dyn.abo.bbox.fr. [89.92.156.188]) by smtp.googlemail.com with ESMTPSA id v203sm3374227wmv.2.2016.08.09.06.21.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Aug 2016 06:21:50 -0700 (PDT) From: Gary Bisson To: buildroot@busybox.net Date: Tue, 9 Aug 2016 15:21:43 +0200 Message-Id: <1470748903-16615-1-git-send-email-gary.bisson@boundarydevices.com> X-Mailer: git-send-email 2.8.1 Cc: thomas.petazzoni@free-electrons.com Subject: [Buildroot] [PATCH] gst1-imx: fix V4L2 plugin build with kernel headers < 3.18 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" This patch fix the following build issue: http://autobuild.buildroot.net/results/b46/b460a770c8f4e992d29dde8fe37fc23a949937f2 It has been submitted to the package maintainers: https://github.com/Freescale/gstreamer-imx/pull/106 Signed-off-by: Gary Bisson --- ...1-v4l2src-Add-V4L2_PIX_FMT_XRGB555X-check.patch | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 package/gstreamer1/gst1-imx/0001-v4l2src-Add-V4L2_PIX_FMT_XRGB555X-check.patch diff --git a/package/gstreamer1/gst1-imx/0001-v4l2src-Add-V4L2_PIX_FMT_XRGB555X-check.patch b/package/gstreamer1/gst1-imx/0001-v4l2src-Add-V4L2_PIX_FMT_XRGB555X-check.patch new file mode 100644 index 0000000..67ac055 --- /dev/null +++ b/package/gstreamer1/gst1-imx/0001-v4l2src-Add-V4L2_PIX_FMT_XRGB555X-check.patch @@ -0,0 +1,33 @@ +From 1ca05ebb7cb63607d14983948105dd1483ea6b65 Mon Sep 17 00:00:00 2001 +From: Gary Bisson +Date: Tue, 9 Aug 2016 10:26:15 +0200 +Subject: [PATCH] v4l2src: Add V4L2_PIX_FMT_XRGB555X check + +Since this format was added in kernel 3.18, any prior version will +fail to compile. + +Issue reported by Buildroot autobuilder with 3.10 kernel headers: +http://autobuild.buildroot.net/results/b46/b460a770c8f4e992d29dde8fe37fc23a949937f2/ + +Signed-off-by: Gary Bisson +--- + src/v4l2src/v4l2src.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/v4l2src/v4l2src.c b/src/v4l2src/v4l2src.c +index c77ae49..12b392a 100644 +--- a/src/v4l2src/v4l2src.c ++++ b/src/v4l2src/v4l2src.c +@@ -447,7 +447,9 @@ static GstCaps *gst_imx_v4l2src_caps_for_current_setup(GstImxV4l2VideoSrc *v4l2s + case V4L2_PIX_FMT_RGB555: + gst_fmt = GST_VIDEO_FORMAT_RGB15; + break; ++#ifdef V4L2_PIX_FMT_XRGB555X + case V4L2_PIX_FMT_XRGB555X: ++#endif + case V4L2_PIX_FMT_RGB555X: + gst_fmt = GST_VIDEO_FORMAT_BGR15; + break; +-- +2.8.1 +