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_rtp.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'src/input/input_rtp.c') diff --git a/src/input/input_rtp.c b/src/input/input_rtp.c index b18082609..31dcf403d 100644 --- a/src/input/input_rtp.c +++ b/src/input/input_rtp.c @@ -398,6 +398,13 @@ static void rtp_plugin_close (input_plugin_t *this_gen) { this->fh = -1; } +/* + * + */ +static void rtp_plugin_stop (input_plugin_t *this_gen) { + rtp_plugin_stop(this_gen); +} + /* * */ @@ -450,7 +457,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("rtp 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" @@ -488,6 +495,7 @@ input_plugin_t *init_input_plugin (int iface, config_values_t *config) { this->input_plugin.get_blocksize = rtp_plugin_get_blocksize; this->input_plugin.eject_media = rtp_plugin_eject_media; this->input_plugin.close = rtp_plugin_close; + this->input_plugin.stop = rtp_plugin_stop; this->input_plugin.get_identifier = rtp_plugin_get_identifier; this->input_plugin.get_description = rtp_plugin_get_description; this->input_plugin.get_dir = NULL; -- cgit v1.2.3