{"id":810790,"url":"http://patchwork.ozlabs.org/api/patches/810790/?format=json","web_url":"http://patchwork.ozlabs.org/project/buildroot/patch/20170906204908.30036-3-bernd.kuhls@t-online.de/","project":{"id":27,"url":"http://patchwork.ozlabs.org/api/projects/27/?format=json","name":"Buildroot development","link_name":"buildroot","list_id":"buildroot.buildroot.org","list_email":"buildroot@buildroot.org","web_url":"","scm_url":"","webscm_url":"","list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20170906204908.30036-3-bernd.kuhls@t-online.de>","list_archive_url":null,"date":"2017-09-06T20:49:07","name":"[3/4] package/tvheadend: add optional support for libva-accelerated transcoding","commit_ref":null,"pull_url":null,"state":"accepted","archived":false,"hash":"8091402354168df8cceae25c887e49dd34105f15","submitter":{"id":62613,"url":"http://patchwork.ozlabs.org/api/people/62613/?format=json","name":"Bernd Kuhls","email":"bernd.kuhls@t-online.de"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/buildroot/patch/20170906204908.30036-3-bernd.kuhls@t-online.de/mbox/","series":[{"id":1877,"url":"http://patchwork.ozlabs.org/api/series/1877/?format=json","web_url":"http://patchwork.ozlabs.org/project/buildroot/list/?series=1877","date":"2017-09-06T20:49:05","name":"[1/4] package/tvheadend: add option to en-/disable transcoding support","version":1,"mbox":"http://patchwork.ozlabs.org/series/1877/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/810790/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/810790/checks/","tags":{},"related":[],"headers":{"Return-Path":"<buildroot-bounces@busybox.net>","X-Original-To":["incoming@patchwork.ozlabs.org","buildroot@lists.busybox.net"],"Delivered-To":["patchwork-incoming@bilbo.ozlabs.org","buildroot@osuosl.org"],"Authentication-Results":"ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=busybox.net\n\t(client-ip=140.211.166.136; helo=silver.osuosl.org;\n\tenvelope-from=buildroot-bounces@busybox.net;\n\treceiver=<UNKNOWN>)","Received":["from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xnbKv2MjZz9t2v\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu,  7 Sep 2017 06:49:23 +1000 (AEST)","from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id 94C832E719;\n\tWed,  6 Sep 2017 20:49:21 +0000 (UTC)","from silver.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id vx5zJXN8LD1G; Wed,  6 Sep 2017 20:49:21 +0000 (UTC)","from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby silver.osuosl.org (Postfix) with ESMTP id 0B0B430B3E;\n\tWed,  6 Sep 2017 20:49:21 +0000 (UTC)","from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n\tby ash.osuosl.org (Postfix) with ESMTP id B7BD81CEB50\n\tfor <buildroot@lists.busybox.net>;\n\tWed,  6 Sep 2017 20:49:15 +0000 (UTC)","from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id B24B58796B\n\tfor <buildroot@lists.busybox.net>;\n\tWed,  6 Sep 2017 20:49:15 +0000 (UTC)","from fraxinus.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id sPGtfDOyRAW7 for <buildroot@lists.busybox.net>;\n\tWed,  6 Sep 2017 20:49:14 +0000 (UTC)","from mailout05.t-online.de (mailout05.t-online.de [194.25.134.82])\n\tby fraxinus.osuosl.org (Postfix) with ESMTPS id 694058796A\n\tfor <buildroot@buildroot.org>; Wed,  6 Sep 2017 20:49:14 +0000 (UTC)","from fwd35.aul.t-online.de (fwd35.aul.t-online.de [172.20.27.145])\n\tby mailout05.t-online.de (Postfix) with SMTP id 263DD42128E5;\n\tWed,  6 Sep 2017 22:49:12 +0200 (CEST)","from fli4l.lan.fli4l\n\t(V8Ufg4ZSZhDNT-SKprlHJRXxs15nrJEQyEZ8ESJnGY3ojXoNDzZ5ZxKiCgwLh9iQSz@[79.228.31.212])\n\tby fwd35.t-online.de with (TLSv1:ECDHE-RSA-AES256-SHA encrypted)\n\tesmtp id 1dphG3-2SW5pI0; Wed, 6 Sep 2017 22:49:11 +0200","from mahler.lan.fli4l ([192.168.1.1]:36400 helo=kuhls.lan.fli4l)\n\tby fli4l.lan.fli4l with esmtp (Exim 4.89)\n\t(envelope-from <bernd.kuhls@t-online.de>)\n\tid 1dphG2-0001mz-C1; Wed, 06 Sep 2017 22:49:10 +0200"],"X-Virus-Scanned":["amavisd-new at osuosl.org","amavisd-new at osuosl.org"],"X-Greylist":"domain auto-whitelisted by SQLgrey-1.7.6","From":"Bernd Kuhls <bernd.kuhls@t-online.de>","To":"buildroot@buildroot.org","Date":"Wed,  6 Sep 2017 22:49:07 +0200","Message-Id":"<20170906204908.30036-3-bernd.kuhls@t-online.de>","X-Mailer":"git-send-email 2.11.0","In-Reply-To":"<20170906204908.30036-1-bernd.kuhls@t-online.de>","References":"<20170906204908.30036-1-bernd.kuhls@t-online.de>","X-ID":"V8Ufg4ZSZhDNT-SKprlHJRXxs15nrJEQyEZ8ESJnGY3ojXoNDzZ5ZxKiCgwLh9iQSz","X-TOI-MSGID":"2ea244ed-40bc-4429-93fb-0b6b24f46066","Cc":"\"Yann E . MORIN\" <yann.morin.1998@free.fr>","Subject":"[Buildroot] [PATCH 3/4] package/tvheadend: add optional support for\n\tlibva-accelerated transcoding","X-BeenThere":"buildroot@busybox.net","X-Mailman-Version":"2.1.18-1","Precedence":"list","List-Id":"Discussion and development of buildroot <buildroot.busybox.net>","List-Unsubscribe":"<http://lists.busybox.net/mailman/options/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=unsubscribe>","List-Archive":"<http://lists.busybox.net/pipermail/buildroot/>","List-Post":"<mailto:buildroot@busybox.net>","List-Help":"<mailto:buildroot-request@busybox.net?subject=help>","List-Subscribe":"<http://lists.busybox.net/mailman/listinfo/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=subscribe>","MIME-Version":"1.0","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Errors-To":"buildroot-bounces@busybox.net","Sender":"\"buildroot\" <buildroot-bounces@busybox.net>"},"content":"Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>\n---\n package/tvheadend/tvheadend.mk | 7 +++++++\n 1 file changed, 7 insertions(+)","diff":"diff --git a/package/tvheadend/tvheadend.mk b/package/tvheadend/tvheadend.mk\nindex 4722cb006..ee3607ae9 100644\n--- a/package/tvheadend/tvheadend.mk\n+++ b/package/tvheadend/tvheadend.mk\n@@ -29,6 +29,12 @@ endif\n ifeq ($(BR2_PACKAGE_TVHEADEND_TRANSCODING),y)\n TVHEADEND_CONF_OPTS += --enable-libav --enable-libx264\n TVHEADEND_DEPENDENCIES += ffmpeg x264\n+ifeq ($(BR2_PACKAGE_LIBVA)$(BR2_PACKAGE_XORG7),yy)\n+TVHEADEND_CONF_OPTS += --enable-vaapi\n+TVHEADEND_DEPENDENCIES += libva\n+else\n+TVHEADEND_CONF_OPTS += --disable-vaapi\n+endif\n ifeq ($(BR2_PACKAGE_OPUS),y)\n TVHEADEND_CONF_OPTS += --enable-libopus\n TVHEADEND_DEPENDENCIES += opus\n@@ -45,6 +51,7 @@ else\n TVHEADEND_CONF_OPTS += \\\n \t--disable-libav \\\n \t--disable-libopus \\\n+\t--disable-vaapi \\\n \t--disable-libx264 \\\n \t--disable-libx265\n endif\n","prefixes":["3/4"]}