tsfile: removed config saving and redundant file
This commit is contained in:
parent
d59a569a3f
commit
faf366d013
3 changed files with 12 additions and 34 deletions
|
@ -33,6 +33,11 @@ tsfile_input_list_t tsfile_inputs;
|
|||
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
|
||||
*/
|
||||
|
@ -42,6 +47,7 @@ tsfile_network_create_service
|
|||
{
|
||||
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
|
||||
|
|
|
@ -36,11 +36,17 @@ tsfile_mux_instance_create
|
|||
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;
|
||||
}
|
||||
|
|
|
@ -1,34 +0,0 @@
|
|||
/*
|
||||
* 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
|
||||
*****************************************************************************/
|
Loading…
Add table
Reference in a new issue