diff options
Diffstat (limited to 'src/demuxers/demux_ts.c')
-rw-r--r-- | src/demuxers/demux_ts.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/demuxers/demux_ts.c b/src/demuxers/demux_ts.c index ed782ec10..982e466a4 100644 --- a/src/demuxers/demux_ts.c +++ b/src/demuxers/demux_ts.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: demux_ts.c,v 1.17 2001/10/03 17:15:43 jkeil Exp $ + * $Id: demux_ts.c,v 1.18 2001/10/17 20:33:09 guenter Exp $ * * Demultiplexer for MPEG2 Transport Streams. * @@ -967,12 +967,13 @@ static int demux_ts_get_stream_length (demux_plugin_t *this_gen) { } -demux_plugin_t *init_demuxer_plugin(int iface, config_values_t *config) { +demux_plugin_t *init_demuxer_plugin(int iface, xine_t *xine) { - demux_ts *this; - int i; + demux_ts *this; + config_values_t *config; + int i; - if (iface != 3) { + if (iface != 4) { printf("demux_ts: plugin doesn't support plugin API version %d.\n" "demux_ts: this means there's a version mismatch between xine and this " "demux_ts: demuxer plugin.\nInstalling current demux plugins should help.\n", @@ -984,6 +985,7 @@ demux_plugin_t *init_demuxer_plugin(int iface, config_values_t *config) { * Initialise the generic plugin. */ this = xmalloc(sizeof(*this)); + config = xine->config; xine_debug = config->lookup_int(config, "xine_debug", 0); this->plugin.interface_version = DEMUXER_PLUGIN_IFACE_VERSION; this->plugin.open = demux_ts_open; |