{"id":810788,"url":"http://patchwork.ozlabs.org/api/patches/810788/?format=json","web_url":"http://patchwork.ozlabs.org/project/buildroot/patch/20170906204908.30036-1-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-1-bernd.kuhls@t-online.de>","list_archive_url":null,"date":"2017-09-06T20:49:05","name":"[1/4] package/tvheadend: add option to en-/disable transcoding support","commit_ref":null,"pull_url":null,"state":"accepted","archived":false,"hash":"76a50b5e0dbb4d1a7104410009695aaac06b7104","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-1-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/810788/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/810788/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 3xnbKq1fKTz9sRY\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu,  7 Sep 2017 06:49:18 +1000 (AEST)","from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id 408832CD69;\n\tWed,  6 Sep 2017 20:49:17 +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 C6dqD312iM65; Wed,  6 Sep 2017 20:49:16 +0000 (UTC)","from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby silver.osuosl.org (Postfix) with ESMTP id 93A712E719;\n\tWed,  6 Sep 2017 20:49:16 +0000 (UTC)","from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\n\tby ash.osuosl.org (Postfix) with ESMTP id 6E6491C3FA1\n\tfor <buildroot@lists.busybox.net>;\n\tWed,  6 Sep 2017 20:49:14 +0000 (UTC)","from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id 64B652E719\n\tfor <buildroot@lists.busybox.net>;\n\tWed,  6 Sep 2017 20:49:14 +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 PNjlU8Rixm9q for <buildroot@lists.busybox.net>;\n\tWed,  6 Sep 2017 20:49:13 +0000 (UTC)","from mailout07.t-online.de (mailout07.t-online.de [194.25.134.83])\n\tby silver.osuosl.org (Postfix) with ESMTPS id 24C6522FC5\n\tfor <buildroot@buildroot.org>; Wed,  6 Sep 2017 20:49:13 +0000 (UTC)","from fwd21.aul.t-online.de (fwd21.aul.t-online.de [172.20.27.66])\n\tby mailout07.t-online.de (Postfix) with SMTP id AA4EA426C767;\n\tWed,  6 Sep 2017 22:49:10 +0200 (CEST)","from fli4l.lan.fli4l\n\t(EBWgcoZlrhkiWMwg0gn3Wr5kO8x1PleZUbncBLi46NGNjT7ZrT2lUisHr59did-Q+N@[79.228.31.212])\n\tby fwd21.t-online.de with (TLSv1:ECDHE-RSA-AES256-SHA encrypted)\n\tesmtp id 1dphG2-0aH50q0; Wed, 6 Sep 2017 22:49:10 +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 1dphG0-0001mz-RB; Wed, 06 Sep 2017 22:49:09 +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:05 +0200","Message-Id":"<20170906204908.30036-1-bernd.kuhls@t-online.de>","X-Mailer":"git-send-email 2.11.0","X-ID":"EBWgcoZlrhkiWMwg0gn3Wr5kO8x1PleZUbncBLi46NGNjT7ZrT2lUisHr59did-Q+N","X-TOI-MSGID":"80a8e794-bb98-492c-9787-d537a95b1c5e","Cc":"\"Yann E . MORIN\" <yann.morin.1998@free.fr>","Subject":"[Buildroot] [PATCH 1/4] package/tvheadend: add option to\n\ten-/disable transcoding support","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":"https://github.com/tvheadend/tvheadend/commit/014bb9505e1d7eb6e37e10931dd89ab3b1a0dc01\nextended the already present transcoding support and included vaapi-\naccelerated transcoding.\n\nIn order to support these new options and their numerous dependencies\nwe add a new Kconfig option for transcoding support to allow users to\ndisable transcoding support, because they use tvheadend for recording\nor by its internal hts protocol, for example with the kodi-pvr-hts\naddon.\n\nSigned-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>\n---\n package/tvheadend/Config.in    | 18 ++++++++++++++----\n package/tvheadend/tvheadend.mk |  2 +-\n 2 files changed, 15 insertions(+), 5 deletions(-)","diff":"diff --git a/package/tvheadend/Config.in b/package/tvheadend/Config.in\nindex fc39d6f48..191593eab 100644\n--- a/package/tvheadend/Config.in\n+++ b/package/tvheadend/Config.in\n@@ -10,10 +10,6 @@ config BR2_PACKAGE_TVHEADEND\n \tdepends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2\n \tdepends on BR2_TOOLCHAIN_HAS_SYNC_4\n \tselect BR2_PACKAGE_DTV_SCAN_TABLES\n-\tselect BR2_PACKAGE_FFMPEG_AVRESAMPLE if BR2_PACKAGE_FFMPEG\n-\tselect BR2_PACKAGE_FFMPEG_SWSCALE if BR2_PACKAGE_FFMPEG\n-\tselect BR2_PACKAGE_LIBVPX if BR2_PACKAGE_FFMPEG && !BR2_bfin # libvpx\n-\tselect BR2_PACKAGE_X264 if BR2_PACKAGE_FFMPEG\n \tselect BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE\n \tselect BR2_PACKAGE_OPENSSL\n \thelp\n@@ -28,3 +24,17 @@ config BR2_PACKAGE_TVHEADEND\n \t      is available on port 9981.\n \t    - if you want Avahi support, you'll need to enable:\n \t          Avahi, D-Bus, libdaemon\n+\n+if BR2_PACKAGE_TVHEADEND\n+\n+config BR2_PACKAGE_TVHEADEND_TRANSCODING\n+\tbool \"transcoding support\"\n+\tselect BR2_PACKAGE_FFMPEG\n+\tselect BR2_PACKAGE_FFMPEG_AVRESAMPLE\n+\tselect BR2_PACKAGE_FFMPEG_SWSCALE\n+\tselect BR2_PACKAGE_LIBVPX if !BR2_bfin # libvpx\n+\tselect BR2_PACKAGE_X264\n+\thelp\n+\t  Enable transcoding support.\n+\n+endif\ndiff --git a/package/tvheadend/tvheadend.mk b/package/tvheadend/tvheadend.mk\nindex 6c0eb6375..b1c1fcaf7 100644\n--- a/package/tvheadend/tvheadend.mk\n+++ b/package/tvheadend/tvheadend.mk\n@@ -26,7 +26,7 @@ else\n TVHEADEND_CONF_OPTS += --disable-dbus-1\n endif\n \n-ifeq ($(BR2_PACKAGE_FFMPEG),y)\n+ifeq ($(BR2_PACKAGE_TVHEADEND_TRANSCODING),y)\n TVHEADEND_DEPENDENCIES += ffmpeg\n TVHEADEND_CONF_OPTS += --enable-libav\n else\n","prefixes":["1/4"]}