From patchwork Thu Jun 22 21:39:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 2929 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-lj1-f198.google.com (mail-lj1-f198.google.com [209.85.208.198]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id C549F3F1F2 for ; Thu, 22 Jun 2023 23:39:30 +0200 (CEST) Received: by mail-lj1-f198.google.com with SMTP id 38308e7fff4ca-2b479d12b31sf119051fa.3 for ; Thu, 22 Jun 2023 14:39:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1687469970; cv=pass; d=google.com; s=arc-20160816; b=A9efQT3TrLij7ec7Z7eMhX6xU+CuIriEbgWRmaLK9QTljprRxyI3jgTdR7m5uZCbBi /q5OeV6yXYahursrXH25P5HIu2KY6E/AMki/l6vGzEsmDg7wSYnu+eW8FCUkkH9iBBDi 4wP6lWusndzqXF/km0BkBoxdNVKtMqlqhm7xBt08HUAFioHm3NvW+92gEeuun9J6YEqy fron2ysms/lfWZ2/uV9zN4sDdvZxY826KZkVbandzMzEBVD0WtEpLxvVtKy1rlgB6jzv gr5GyeGjC4X7AzndJ90e07n4SXmwJ+l7/hGjxcEPCm20VxQve5oMF93hlx1USXYgtOti 4RBw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:message-id:date:subject:cc:to :from:dkim-signature; bh=9Xyvb5RfSC909Mr5hxjLFpBYE2OSRrdXBn6GIv/lGs4=; b=MBOhuKCmo8f1hycrwKCR0srUpsPmTjOBhLtsl+avJVUSMxngtBwe5DYFBJ3aUWFvOW ezMNp9ZkFp+Qf/t9k4qtmfXnyc57sR5FeNIjzXcCjBKpY4vXHJy5oYA5ChWWgMnMfg+v r/Uv5YGAAJ6T0+dJ/9Lkj/ZwtZ7GvioFCD9pikSl0fc6XhY/XJNwhB2Ds4M03CrvSSOz SKHbj+OVrUZDCQO5jqWT3/LTU4hxOVS4wAS5GyBOiqYE8G2tOsjmqyQRPZ+TZMoTrESf pxCgnTmx+WquBGInx2vxipr3NAUsCuqMoO/jL22VyKopWDFQX/2zHU7HofbXQgEjvAi2 5W/Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Q15fRoVN; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1687469970; x=1690061970; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:message-id:date:subject:cc:to:from :from:to:cc:subject:date:message-id:reply-to; bh=9Xyvb5RfSC909Mr5hxjLFpBYE2OSRrdXBn6GIv/lGs4=; b=XRq0ASEPPAUc9u7jj3GLshQURLpSI8ujuTt0pBsEULH7RxlBoUSbQ0RGRMOFpUZ93i 2suWQ0JsFOYsklaw/tKxZXh8v3Aj3w2zsxVz4hbe1OJDn2+CpWDz54eDNVZ0cXibbE3S 3pGlJuWpmgrvebj5ggoD11WtvukZBGi04gQ6s= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687469970; x=1690061970; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :message-id:date:subject:cc:to:from:x-beenthere:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=9Xyvb5RfSC909Mr5hxjLFpBYE2OSRrdXBn6GIv/lGs4=; b=j6dzx6vYUiUbq1gWqkqlRE7ETYnqqfQDUqTi56lf4kUEGM1GZS2QibK2+gmLKddN01 zd0z2VqX4qIM1QL9/NTY7Z41HFN7DpXWKkq4RiykSUTtYYpge8Mvu7NS/s9mW5ZqS5aL oeK+/4vuPhUFsBSITy+oAjyEcKl+I3tmeSgOp4eXCJYcU14W74GOh1af5P0yhuIZPF20 SX6o8fLmMAQqfPXhug+vChdoWgiGNacsLj5Tp0kccU9zjpMOp9uEXFHUnlMdyWe+SoV0 U8JqnTffm46OP71EEPr8JH/V4h+c4EbLc3yp8JHy6x/8g2ZQ7XRCYxYRFo6kA5s0uEiJ 8bnA== X-Gm-Message-State: AC+VfDwQVU+nguHJ7I7g4sd5l0z8uVum8UJ/x1fbC20nY31oH4Jt7zXT c0n6gZ1LAYAIp8x7esnrINu5IK2fMDTc+yEX X-Google-Smtp-Source: ACHHUZ4y1Di127c91JG+wrambkW6pbWzKhBCbc4zFi7TPNKnditcf3jTcd565KJmWJ6d4hgYk4Tz4A== X-Received: by 2002:a2e:9542:0:b0:2b0:297c:cbdf with SMTP id t2-20020a2e9542000000b002b0297ccbdfmr12621604ljh.1.1687469969884; Thu, 22 Jun 2023 14:39:29 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:aa7:c2d4:0:b0:514:a0b8:647d with SMTP id m20-20020aa7c2d4000000b00514a0b8647dls644787edp.0.-pod-prod-02-eu; Thu, 22 Jun 2023 14:39:28 -0700 (PDT) X-Received: by 2002:a17:907:84c:b0:987:783f:449a with SMTP id ww12-20020a170907084c00b00987783f449amr12234377ejb.11.1687469967623; Thu, 22 Jun 2023 14:39:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687469967; cv=none; d=google.com; s=arc-20160816; b=nfnThxFuhlRV9TylE5rqmmb133SJy+IazLdU4Z+rupLlHnxLAgn4wgRJi3NVzPwKaw DldyVT3k7ctKcObRKA1ph81kmgwAxiXQ2kt9nDxk6p+SGVvww7ikquOMq7N9TWKLPtL1 iavJK3casfMafh7Zt0WAKY+5gBxnGwB7s71xik8ZCd1VfZsE2uUa0Ad8pNW7Q1Ngs7Pc 1U0YurvWWVRH25q8u3LoqKyJRoN10tV9dVVk028Y+ORKWoNuru1ByFaLahayb2Dgipb3 FZpjW7OUnNXP4oBxZUFaUyfIYsH1v9pazGeoApCQ1oekx99Nxzv5mKSoc/9n6vRYdAE0 3ckw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=Xms5V9lBrpjnVW0b/aFVSvE7C2hdVDR94Y0r5MAl8NY=; b=j56dmFrTplzzqea5vSp3bs3SnQMu1Y0W/895lehgNy95xIo8euXlLcAMaphkrBLnB3 +jcfnOCZat4555f5XtocPKWDKYEvT1Gx4vYHVDy2tpTQcGzBoFbLyP7rmuQ31lV++xE2 3n6frrkk9L51WoMLogLs79bGAST2BNpLjCU2e9bRliClcN54xyyJHbrKlku6Wa+/jsCH FZnQIgg6he/hg0y75ee+QUkBSjAif/Gtt34BoEHuSozLJm8kOYt11Exdkr7eCG/01eRP shaM65igg+bPeGQHatCSwoSx5eSb5PUIqeG1vO7kufZX3Up927dFI0J3bVbrElZzkCZW F1bw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Q15fRoVN; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id fu29-20020a170907b01d00b00982450d6980sor3180766ejc.13.2023.06.22.14.39.27 for (Google Transport Security); Thu, 22 Jun 2023 14:39:27 -0700 (PDT) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a17:906:fd89:b0:988:8be0:3077 with SMTP id xa9-20020a170906fd8900b009888be03077mr11515524ejb.31.1687469966966; Thu, 22 Jun 2023 14:39:26 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-79-25-27-4.retail.telecomitalia.it. [79.25.27.4]) by smtp.gmail.com with ESMTPSA id lx3-20020a170906af0300b0098278f0903fsm5222577ejb.38.2023.06.22.14.39.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Jun 2023 14:39:26 -0700 (PDT) From: Dario Binacchi To: buildroot@buildroot.org Cc: linux-amarula@amarulasolutions.com, michael@amarulasolutions.com, Peter Seiderer , Dario Binacchi Subject: [PATCH v2, 1/1] package/gstreamer1/gst1-plugins-good: add adaptivedemux2 plugin option Date: Thu, 22 Jun 2023 23:39:17 +0200 Message-Id: <20230622213917.3772910-1-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Q15fRoVN; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Currently there is no explicit way to enable/disable the adaptivedemux2 plugin. Create a menu entry allowing users to disable or enable the plugin, like we have for other features. Signed-off-by: Dario Binacchi --- Changes in v2: - Move the option below the 'comment "plugins with external dependencies"'. - Add plugin dependencies (i.e. libsoup libxml2) in gst1-plugins-good.mk. Signed-off-by: Dario Binacchi --- package/gstreamer1/gst1-plugins-good/Config.in | 7 +++++++ package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/package/gstreamer1/gst1-plugins-good/Config.in b/package/gstreamer1/gst1-plugins-good/Config.in index d7ec16e80014..9d849580c52f 100644 --- a/package/gstreamer1/gst1-plugins-good/Config.in +++ b/package/gstreamer1/gst1-plugins-good/Config.in @@ -258,6 +258,13 @@ config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_Y4M comment "plugins with external dependencies" +config BR2_PACKAGE_GST1_PLUGINS_GOOD_ADAPTIVEMUX2 + bool "Adaptive Streaming 2 support" + select BR2_PACKAGE_LIBXML2 + select BR2_PACKAGE_LIBSOUP + help + Adaptive Streaming 2 plugin + config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_LAME bool "lame (*.mp3 audio encoder)" select BR2_PACKAGE_LAME diff --git a/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk b/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk index bbcd3aecabd1..41f4c727f3a8 100644 --- a/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk +++ b/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk @@ -58,6 +58,13 @@ GST1_PLUGINS_GOOD_CONF_OPTS += -Dorc=enabled GST1_PLUGINS_GOOD_DEPENDENCIES += orc endif +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_ADAPTIVEMUX2),y) +GST1_PLUGINS_GOOD_CONF_OPTS += -Dadaptivedemux2=enabled +GST1_PLUGINS_GOOD_DEPENDENCIES += libsoup libxml2 +else +GST1_PLUGINS_GOOD_CONF_OPTS += -Dadaptivedemux2=disabled +endif + ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_ALPHA),y) GST1_PLUGINS_GOOD_CONF_OPTS += -Dalpha=enabled else