extern const idclass_t mpegts_service_class;
extern const idclass_t mpegts_network_class;
+static void
+tsfile_service_config_save ( service_t *s )
+{
+}
+
/*
* Network definition
*/
{
pthread_mutex_lock(&tsfile_lock);
mpegts_service_t *s = mpegts_service_create1(NULL, mm, sid, pmt_pid, NULL);
+ s->s_config_save = tsfile_service_config_save;
pthread_mutex_unlock(&tsfile_lock);
// TODO: HACK: REMOVE ME
return mmi;
}
+static void
+iptv_mux_config_save ( mpegts_mux_t *m )
+{
+}
+
mpegts_mux_t *
tsfile_mux_create ( mpegts_network_t *mn )
{
mpegts_mux_t *mm
= mpegts_mux_create1(NULL, mn, MPEGTS_ONID_NONE, MPEGTS_TSID_NONE, NULL);
+ mm->mm_config_save = iptv_mux_config_save;
tvhtrace("tsfile", "mm created %p", mm);
return mm;
}
+++ /dev/null
-/*
- * Tvheadend - TS file input service
- *
- * Copyright (C) 2013 Adam Sutton
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-
-mpegts_service_t *tsfile_service_create ( const char *path )
-{
- mpegts_service_t *s = mpegts_service_create(NULL);
-
- s->s_dvb_service_id = 0;
- s->s_dvb_pmt_pid = 0;
- s->s_dvb_
-}
-
-
-/******************************************************************************
- * Editor Configuration
- *
- * vim:sts=2:ts=2:sw=2:et
- *****************************************************************************/