extern memoryinfo_t mpegts_input_table_memoryinfo;
void
-mpegts_init ( int linuxdvb_mask, int nosatip, str_list_t *satip_client,
- str_list_t *tsfiles, int tstuners )
+mpegts_init ( int linuxdvb_mask, int nosatip, int nohdhomerun,
+ str_list_t *satip_client, str_list_t *tsfiles, int tstuners )
{
/* Register classes (avoid API 400 errors due to not yet defined) */
idclass_register(&mpegts_network_class);
/* HDHomerun client */
#if ENABLE_HDHOMERUN_CLIENT
- tvhdhomerun_init();
+ if (!nohdhomerun)
+ tvhdhomerun_init();
#endif
/* Mux schedulers */
* Setup / Tear down
* *************************************************************************/
-void mpegts_init ( int linuxdvb_mask, int nosatip, str_list_t *satip_client,
- str_list_t *tsfiles, int tstuners );
+void mpegts_init ( int linuxdvb_mask, int nosatip, int nohdhomerun,
+ str_list_t *satip_client, str_list_t *tsfiles, int tstuners );
void mpegts_done ( void );
/* **************************************************************************
opt_libav = 0,
opt_ipv6 = 0,
opt_nosatipcli = 0,
+ opt_nohdhomerun = 0,
opt_satip_rtsp = 0,
#if ENABLE_TSFILE
opt_tsfile_tuner = 0,
OPT_BOOL, &opt_nosatipcli },
{ 0, "satip_xml", N_("URL with the SAT>IP server XML location"),
OPT_STR_LIST, &opt_satip_xml },
+#endif
+#if ENABLE_HDHOMERUN_CLIENT
+ { 0, "nohdhomerun", N_("Disable HDHomeRun client"),
+ OPT_BOOL, &opt_nohdhomerun },
#endif
{ 0, NULL, N_("Server connectivity"), OPT_BOOL, NULL },
{ '6', "ipv6", N_("Listen on IPv6"), OPT_BOOL, &opt_ipv6 },
tvhftrace(LS_MAIN, descrambler_init);
tvhftrace(LS_MAIN, dvb_init);
#if ENABLE_MPEGTS
- tvhftrace(LS_MAIN, mpegts_init, adapter_mask, opt_nosatipcli, &opt_satip_xml,
- &opt_tsfile, opt_tsfile_tuner);
+ tvhftrace(LS_MAIN, mpegts_init, adapter_mask, opt_nosatipcli, opt_nohdhomerun,
+ &opt_satip_xml, &opt_tsfile, opt_tsfile_tuner);
#endif
tvhftrace(LS_MAIN, channel_init);
tvhftrace(LS_MAIN, bouquet_service_resolve);