From 572a39455ef8eeef47bf640488ed963ae55925e0 Mon Sep 17 00:00:00 2001 From: Daniel Caujolle-Bert Date: Mon, 7 May 2001 01:31:44 +0000 Subject: Add new mrl_t **get_dir functionality. Fix crash if audio driver == NULL. CVS patchset: 67 CVS date: 2001/05/07 01:31:44 --- src/input/input_stdin_fifo.c | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'src/input/input_stdin_fifo.c') diff --git a/src/input/input_stdin_fifo.c b/src/input/input_stdin_fifo.c index 3123d95bd..ebe737cc7 100644 --- a/src/input/input_stdin_fifo.c +++ b/src/input/input_stdin_fifo.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_stdin_fifo.c,v 1.3 2001/05/06 14:25:42 guenter Exp $ + * $Id: input_stdin_fifo.c,v 1.4 2001/05/07 01:31:44 f1rmb Exp $ */ #ifdef HAVE_CONFIG_H @@ -25,6 +25,7 @@ #endif #include +#include #include #include #include @@ -189,6 +190,15 @@ static char *stdin_plugin_get_identifier(input_plugin_t *this_gen) { return "stdin_fifo"; } +/* + * + */ +static int stdin_plugin_get_optional_data (input_plugin_t *this_gen, + void *data, int data_type) { + + return INPUT_OPTIONAL_UNSUPPORTED; +} + /* * */ @@ -218,7 +228,7 @@ input_plugin_t *init_input_plugin (int iface, config_values_t *config) { this->input_plugin.get_description = stdin_plugin_get_description; this->input_plugin.get_identifier = stdin_plugin_get_identifier; this->input_plugin.get_autoplay_list = NULL; - this->input_plugin.get_clut = NULL; + this->input_plugin.get_optional_data = stdin_plugin_get_optional_data; this->fh = -1; this->mrl = NULL; -- cgit v1.2.3