diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/input/input_mms.c | 9 | ||||
-rw-r--r-- | src/input/mms.h | 4 |
2 files changed, 6 insertions, 7 deletions
diff --git a/src/input/input_mms.c b/src/input/input_mms.c index 77beec4d3..22f483942 100644 --- a/src/input/input_mms.c +++ b/src/input/input_mms.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_mms.c,v 1.27 2002/12/12 23:48:02 tmattern Exp $ + * $Id: input_mms.c,v 1.28 2002/12/13 08:56:53 f1rmb Exp $ * * mms input plugin based on work from major mms */ @@ -368,9 +368,9 @@ static void *init_class (xine_t *xine, void *data) { this->input_class.eject_media = NULL; xine->config->register_enum(xine->config, "input.mms_network_bandwidth", 10, - mms_bandwidth_strs, - "Network bandwidth", - NULL, 0, bandwidth_changed_cb, (void*) this); + (char **)mms_bandwidth_strs, + "Network bandwidth", + NULL, 0, bandwidth_changed_cb, (void*) this); return this; } @@ -384,4 +384,3 @@ plugin_info_t xine_plugin_info[] = { { PLUGIN_INPUT, 10, "mms", XINE_VERSION_CODE, NULL, init_class }, { PLUGIN_NONE, 0, "", 0, NULL, NULL } }; - diff --git a/src/input/mms.h b/src/input/mms.h index c78782a05..3bb3b2358 100644 --- a/src/input/mms.h +++ b/src/input/mms.h @@ -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: mms.h,v 1.7 2002/10/26 22:50:52 guenter Exp $ + * $Id: mms.h,v 1.8 2002/12/13 08:56:53 f1rmb Exp $ * * libmms public header */ @@ -31,7 +31,7 @@ typedef struct mms_s mms_t; char* mms_connect_common(int *s ,int *port, char *url, char **host, char **path, char **file); -mms_t* mms_connect (xine_stream_t *stream, const char *url); +mms_t* mms_connect (xine_stream_t *stream, const char *url_, int bandwidth); int mms_read (mms_t *this, char *data, int len); uint32_t mms_get_length (mms_t *this); |