]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
webui: do not load the codec tab when libav is not build-in
authorJaroslav Kysela <perex@perex.cz>
Wed, 30 Aug 2017 14:56:57 +0000 (16:56 +0200)
committerJaroslav Kysela <perex@perex.cz>
Wed, 30 Aug 2017 14:56:57 +0000 (16:56 +0200)
src/webui/static/app/tvheadend.js

index 55db1143f47f145bc0c9543c137bad2fa54d658b..3c63cbae97deb434662a9571c15cc21615ff9f58 100644 (file)
@@ -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);