diff --git a/configure.ac b/configure.ac index e33d6d3c..f42241a8 100644 --- a/configure.ac +++ b/configure.ac @@ -153,6 +153,18 @@ then AC_DEFINE(TUNE_OLD, 1, Define if you want the old code for tuning) fi +AC_ARG_ENABLE([rewrite_nit_support], + [AS_HELP_STRING([--enable-rewrite_nit_support], + [Build with rewrite NIT support (default disabled)])], + [], + [enable_rewrite_nit_support="no"]) + +if test "${enable_rewrite_nit_support}" = "yes" +then + AC_DEFINE(REWRITE_NIT_SUPPORT, 1, Define if you want to rewrite the NIT Table) +fi +AM_CONDITIONAL([BUILD_REWRITE_NIT], [test "${enable_rewrite_nit_support}" = "yes"]) + # Checks for header files. AC_HEADER_RESOLV AC_CHECK_HEADERS([arpa/inet.h fcntl.h netdb.h netinet/in.h stdint.h stdlib.h string.h sys/ioctl.h sys/socket.h sys/time.h syslog.h unistd.h values.h]) @@ -220,6 +232,12 @@ if test "${enable_tune_old}" = "yes" ; then echo "Build with old tuning code: yes" fi +if test "${enable_rewrite_nit_support}" = "yes" ; then + echo "Build with rewrite nit support: yes" +else + echo "Build with rewrite nit support: no" +fi + echo "" echo "Debugging" echo "" diff --git a/doc/README.asciidoc b/doc/README.asciidoc index d6a3fac6..01cb8432 100644 --- a/doc/README.asciidoc +++ b/doc/README.asciidoc @@ -111,6 +111,7 @@ The `[configure options]` specific to MuMuDVB are: --enable-duma Debbuging DUMA library (default disabled) --enable-android Support for Android (default disabled) --disable-dvb-support Build without Linux DVB-API support, even on systems where the headers are present + --enable-rewrite_nit_support Build with rewrite nit support --------------------------------------------------------------------- [NOTE] diff --git a/doc/README_CONF.asciidoc b/doc/README_CONF.asciidoc index a1a31e97..70a26673 100644 --- a/doc/README_CONF.asciidoc +++ b/doc/README_CONF.asciidoc @@ -222,7 +222,9 @@ Packets sending parameters |rewrite_pmt | Do we rewrite the PMT PID | 0 | 0 or 1 | See README, important if you don't stream all PIDs |rewrite_eit sort_eit | Do we rewrite/sort the EIT PID | 0 | 0 or 1 | See README |sdt_force_eit | Do we force the EIT_schedule_flag and EIT_present_following_flag in SDT | 0 | 0 or 1 | Set to 0 if you don't understand -|rtp_header | Send the stream with the rtp headers (except for HTTP unicast) | 0 | 0 or 1 | +|rtp_header | Send the stream with the rtp headers (except for HTTP unicast) | 0 | 0 or 1 | +|rewrite_nit | Patch certain frequencies in the nit table | 0 | 0 or 1 | see freq_patch and configure options +|freq_patch | Map the old frequency given as a hexadecimal value to a new frequency. For example `freq_patch=0x03300000->0x07700000` will rewrite the nit entry with the frequency 330MHz to 770MHz| | `%x->%x` | rewrite_nit needs to be enabled |================================================================================================================== Logs parameters diff --git a/doc/html/README.html b/doc/html/README.html index d37f15f7..82b97885 100644 --- a/doc/html/README.html +++ b/doc/html/README.html @@ -4,7 +4,7 @@ - + MuMuDVB - README