summaryrefslogtreecommitdiff
path: root/src/input/input_rtp.c
diff options
context:
space:
mode:
authorMichael Roitzsch <mroi@users.sourceforge.net>2002-11-17 17:48:47 +0000
committerMichael Roitzsch <mroi@users.sourceforge.net>2002-11-17 17:48:47 +0000
commit607670a62dc658d1b496a944c181fe7d7e29273b (patch)
treee4f9ecc0a5f0bab3d1845fbdf19111bc4005f555 /src/input/input_rtp.c
parent7c7db651f47aef90a2e69c085965092ced2d663e (diff)
downloadxine-lib-607670a62dc658d1b496a944c181fe7d7e29273b.tar.gz
xine-lib-607670a62dc658d1b496a944c181fe7d7e29273b.tar.bz2
bring eject back: no eject function if the plugin does not support it
CVS patchset: 3281 CVS date: 2002/11/17 17:48:47
Diffstat (limited to 'src/input/input_rtp.c')
-rw-r--r--src/input/input_rtp.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/input/input_rtp.c b/src/input/input_rtp.c
index e576e6f53..933aa5029 100644
--- a/src/input/input_rtp.c
+++ b/src/input/input_rtp.c
@@ -438,14 +438,6 @@ static void rtp_plugin_stop (input_plugin_t *this_gen) {
/*
*
*/
-static int rtp_plugin_eject_media (input_plugin_t *this_gen) {
-
- return 1;
-}
-
-/*
- *
- */
static char *rtp_plugin_get_description (input_plugin_t *this_gen) {
return _("rtp input plugin as shipped with xine");
@@ -536,7 +528,7 @@ static void *init_input_plugin (xine_t *xine, void *data) {
this->input_plugin.get_current_pos = rtp_plugin_get_current_pos;
this->input_plugin.get_length = rtp_plugin_get_length;
this->input_plugin.get_blocksize = rtp_plugin_get_blocksize;
- this->input_plugin.eject_media = rtp_plugin_eject_media;
+ this->input_plugin.eject_media = NULL;
this->input_plugin.close = rtp_plugin_close;
this->input_plugin.stop = rtp_plugin_stop;
this->input_plugin.get_identifier = rtp_plugin_get_identifier;