diff options
Diffstat (limited to 'src/input/input_vcd.c')
-rw-r--r-- | src/input/input_vcd.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/input/input_vcd.c b/src/input/input_vcd.c index 27142decc..657f013f7 100644 --- a/src/input/input_vcd.c +++ b/src/input/input_vcd.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: input_vcd.c,v 1.18 2001/07/27 22:00:27 f1rmb Exp $ + * $Id: input_vcd.c,v 1.19 2001/08/17 16:15:36 f1rmb Exp $ */ #ifdef HAVE_CONFIG_H @@ -908,6 +908,13 @@ static void vcd_plugin_close (input_plugin_t *this_gen) { /* * */ +static void vcd_plugin_stop (input_plugin_t *this_gen) { + vcd_plugin_close(this_gen); +} + +/* + * + */ static char *vcd_plugin_get_description (input_plugin_t *this_gen) { return "plain file input plugin as shipped with xine"; } @@ -1077,7 +1084,7 @@ input_plugin_t *init_input_plugin (int iface, config_values_t *config) { xine_debug = config->lookup_int (config, "xine_debug", 0); - if (iface != 2) { + if (iface != 3) { printf("vcd input plugin doesn't support plugin API version %d.\n" "PLUGIN DISABLED.\n" "This means there's a version mismatch between xine and this input" @@ -1103,6 +1110,7 @@ input_plugin_t *init_input_plugin (int iface, config_values_t *config) { this->input_plugin.get_blocksize = vcd_plugin_get_blocksize; this->input_plugin.eject_media = vcd_plugin_eject_media; this->input_plugin.close = vcd_plugin_close; + this->input_plugin.stop = vcd_plugin_stop; this->input_plugin.get_identifier = vcd_plugin_get_identifier; this->input_plugin.get_description = vcd_plugin_get_description; this->input_plugin.get_dir = vcd_plugin_get_dir; |