]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Ask user for polarisation when adding DVB-S mux
authorAndreas Öman <andreas@lonelycoder.com>
Wed, 9 Apr 2008 10:01:31 +0000 (10:01 +0000)
committerAndreas Öman <andreas@lonelycoder.com>
Wed, 9 Apr 2008 10:01:31 +0000 (10:01 +0000)
ajaxui/ajaxui_config_dvb.c

index 8c4b2e377b139d86ad0e0b04bba5b74532e6bb22..b6f3c64840a0f3b11135ade3c30268258e727020 100644 (file)
@@ -378,6 +378,21 @@ ajax_adapteraddmux(http_connection_t *hc, const char *remain, void *opaque)
             ", fec: $F('fec')");
   }
 
+  if(fetype == FE_QPSK) {
+    tcp_qprintf(&tq,
+               "<div class=\"infoprefixwidefat\">Polarisation:</div>"
+               "<div><select id=\"pol\" class=\"textinput\">");
+
+    add_option(&tq, 1,  "Vertical");
+    add_option(&tq, 1,  "Horizontal");
+    tcp_qprintf(&tq, "</select></div>");
+
+    snprintf(params + strlen(params), sizeof(params) - strlen(params), 
+            ", pol: $F('pol')");
+    
+
+  }
+
 
   if(fetype == FE_OFDM) {
     tcp_qprintf(&tq,