diff options
author | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2003-01-04 14:48:11 +0000 |
---|---|---|
committer | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2003-01-04 14:48:11 +0000 |
commit | 4b91fa7eb32d3337e0ac6dc3fc6b210ca480b7b9 (patch) | |
tree | 24cfafb063e21ca2f61878b04c948bc5f74690ec /src/demuxers/group_games.c | |
parent | feb5575abd810ae0a21de9c3f8dd3033cd4cf573 (diff) | |
download | xine-lib-4b91fa7eb32d3337e0ac6dc3fc6b210ca480b7b9.tar.gz xine-lib-4b91fa7eb32d3337e0ac6dc3fc6b210ca480b7b9.tar.bz2 |
add 2 demuxer groups (audio and games) with multiple plugins at the
same shared library (reduce loading time). demuxer api increased so
old ungrouped plugins won't be loaded.
Bill Fink patch to enable playback of live rawdv streams.
obs: non-regular files are now supposed non-seekable.
CVS patchset: 3771
CVS date: 2003/01/04 14:48:11
Diffstat (limited to 'src/demuxers/group_games.c')
-rw-r--r-- | src/demuxers/group_games.c | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/src/demuxers/group_games.c b/src/demuxers/group_games.c new file mode 100644 index 000000000..3aacb007c --- /dev/null +++ b/src/demuxers/group_games.c @@ -0,0 +1,55 @@ +/* + * Copyright (C) 2000-2002 the xine project + * + * This file is part of xine, a free video player. + * + * xine 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 2 of the License, or + * (at your option) any later version. + * + * xine 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, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * + * This file contains plugin entries for several demuxers used in games + * + * $Id: group_games.c,v 1.1 2003/01/04 14:48:12 miguelfreitas Exp $ + */ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include "xine_internal.h" +#include "demux.h" + + +void *demux_eawve_init_plugin(xine_t *xine, void *data); +void *demux_idcin_init_plugin (xine_t *xine, void *data); +void *demux_ipmovie_init_plugin (xine_t *xine, void *data); +void *demux_vqa_init_plugin (xine_t *xine, void *data); +void *demux_wc3movie_init_plugin (xine_t *xine, void *data); +void *demux_roq_init_plugin (xine_t *xine, void *data); +void *demux_str_init_plugin (xine_t *xine, void *data); + +/* + * exported plugin catalog entries + */ + +plugin_info_t xine_plugin_info[] = { + /* type, API, "name", version, special_info, init_function */ + { PLUGIN_DEMUX, 20, "wve", XINE_VERSION_CODE, NULL, demux_eawve_init_plugin}, + { PLUGIN_DEMUX, 20, "idcin", XINE_VERSION_CODE, NULL, demux_idcin_init_plugin }, + { PLUGIN_DEMUX, 20, "ipmovie", XINE_VERSION_CODE, NULL, demux_ipmovie_init_plugin }, + { PLUGIN_DEMUX, 20, "vqa", XINE_VERSION_CODE, NULL, demux_vqa_init_plugin }, + { PLUGIN_DEMUX, 20, "wc3movie", XINE_VERSION_CODE, NULL, demux_wc3movie_init_plugin }, + { PLUGIN_DEMUX, 20, "roq", XINE_VERSION_CODE, NULL, demux_roq_init_plugin }, + { PLUGIN_DEMUX, 20, "str", XINE_VERSION_CODE, NULL, demux_str_init_plugin }, + { PLUGIN_NONE, 0, "", 0, NULL, NULL } +}; |