From: Jaroslav Kysela Date: Wed, 30 Aug 2017 14:56:57 +0000 (+0200) Subject: webui: do not load the codec tab when libav is not build-in X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7696b9914f3ab99d36f78a8acea03ad0f1c3d85a;p=thirdparty%2Ftvheadend.git webui: do not load the codec tab when libav is not build-in --- diff --git a/src/webui/static/app/tvheadend.js b/src/webui/static/app/tvheadend.js index 55db1143f..3c63cbae9 100644 --- a/src/webui/static/app/tvheadend.js +++ b/src/webui/static/app/tvheadend.js @@ -791,7 +791,8 @@ function accessUpdate(o) { items: [] }); tvheadend.profile_tab(stream); - tvheadend.codec_tab(stream); + if (tvheadend.capabilities.indexOf('libav') !== -1) + tvheadend.codec_tab(stream); tvheadend.esfilter_tab(stream); cp.add(stream);