From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 33E15E00B6F; Tue, 5 Apr 2016 06:23:11 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.0 SPF_HELO_PASS SPF: HELO matches SPF record * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from ptmx.org (ptmx.org [178.63.28.110]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id AA29AE00AE4 for ; Tue, 5 Apr 2016 06:23:07 -0700 (PDT) Received: from [10.1.14.248] (vpn.streamunlimited.com [91.114.0.140]) by ptmx.org (Postfix) with ESMTPSA id 5569B2D2A3; Tue, 5 Apr 2016 15:23:04 +0200 (CEST) To: Gary Bisson , Otavio Salvador References: From: Carlos Rafael Giani Message-ID: <5703BC37.1070507@pseudoterminal.org> Date: Tue, 5 Apr 2016 15:23:03 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: Cc: "meta-freescale@yoctoproject.org" Subject: Re: [meta-fsl-arm][PATCH] gstreamer1.0-plugins-imx: add i.MX7 support X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Apr 2016 13:23:11 -0000 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit On 04/04/2016 03:04 PM, Gary Bisson wrote: > Otavio, All, > > On Mon, Apr 4, 2016 at 1:04 PM, Otavio Salvador > wrote: >> On Sat, Apr 2, 2016 at 12:58 PM, Gary Bisson >> wrote: >>> Modify the dependencies to match the platform features. By default >>> the build will generate the following plugins for all the mx6/mx7 >>> platforms: >>> - imxpxpvideosink >>> - imxpxpvideotransform >>> - imxipuvideotransform >>> - imxipuvideosink >>> - imxipucompositor >>> - imxv4l2videosrc >>> - imxuniaudiodec >>> - imxmp3audioenc >>> >>> Then all the platforms with GPU support (6QDL, 6SL, 6SX) will also have: >>> - imxeglvivsink >>> - imxg2dvideosink >>> - imxg2dvideotransform >>> - imxg2dcompositor >>> Note that only the G2D plugins can work on 6SL. >>> >>> Finally, platforms with VPU support (6QDL) will also have: >>> - imxvpudec >>> - imxvpuenc_h263 >>> - imxvpuenc_h264 >>> - imxvpuenc_mpeg4 >>> - imxvpuenc_mjpeg >>> >>> The pxp and v4l2 plugins have been tested on an i.MX7 Nitrogen7 >>> platform from Boundary Devices. >>> >>> Signed-off-by: Gary Bisson >> I do support this change, however it needs to use PACKAGECONFIG flags >> and also include 'configure' options which enable/disable the >> features. The features cannot be enabled depending on library >> detection as it can result in non-deterministic builds. > I agree this would be the best solution. I think gstreamer-imx doesn't > offer this kind of configuration options. Not sure how complicated it > is to implement, I'll let Carlos give his feedback as I'm not familiar > with waf. > > However, if it takes time to implement, I think this patch could still > be useful as-is for now. Especially since the current recipe already > relies on on library detection to enable features. Also, this patch > fixes the dependencies of platforms without VPU such as the i.MX6SX > and i.MX6SL. How does the build behaves right now if > gstreamer1.0-plugins-imx is selected for an i.MX6SX platform? I'm not > sure why it would result in non-deterministic builds, would it be any > different than the current recipe to that regard? > > Regards, > Gary Latest git master has now configuration switches for turning on/off the various plugins. I'll make a release shortly, then a new 0.12.1 recipe can be included into meta-fsl-arm with proper packageconfigs.