From 31f9517d0a924c20dae8b9c6d5cc839c48b0311a Mon Sep 17 00:00:00 2001 From: Daniel Caujolle-Bert Date: Fri, 17 Aug 2001 16:15:36 +0000 Subject: Add xine_seek() and friends. CVS patchset: 446 CVS date: 2001/08/17 16:15:36 --- src/input/input_vcd.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'src/input/input_vcd.c') 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 @@ -905,6 +905,13 @@ static void vcd_plugin_close (input_plugin_t *this_gen) { this->fd = -1; } +/* + * + */ +static void vcd_plugin_stop (input_plugin_t *this_gen) { + vcd_plugin_close(this_gen); +} + /* * */ @@ -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; -- cgit v1.2.3