summaryrefslogtreecommitdiff
path: root/src/input/input_file.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_file.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_file.c')
-rw-r--r--src/input/input_file.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/input/input_file.c b/src/input/input_file.c
index 9f9efe05c..75bec4f02 100644
--- a/src/input/input_file.c
+++ b/src/input/input_file.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_file.c,v 1.67 2002/11/08 23:28:00 f1rmb Exp $
+ * $Id: input_file.c,v 1.68 2002/11/17 17:48:47 mroi Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -174,10 +174,6 @@ static int is_a_dir(char *filepathname) {
return (S_ISDIR(pstat.st_mode));
}
-static int file_plugin_eject_media (input_class_t *this_gen) {
- return 1; /* doesn't make sense */
-}
-
static char* file_plugin_get_mrl (input_plugin_t *this_gen) {
file_input_plugin_t *this = (file_input_plugin_t *) this_gen;
@@ -847,7 +843,7 @@ static void *init_plugin (xine_t *xine, void *data) {
this->input_class.get_dir = file_class_get_dir;
this->input_class.get_autoplay_list = NULL;
this->input_class.dispose = file_class_dispose;
- this->input_class.eject_media = file_plugin_eject_media;
+ this->input_class.eject_media = NULL;
this->mrls = (xine_mrl_t **) xine_xmalloc(sizeof(xine_mrl_t*));
this->mrls_allocated_entries = 0;