summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/input/input_mms.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/input/input_mms.c b/src/input/input_mms.c
index 6b640c0b7..7ba14765b 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.58 2006/03/24 16:40:54 hadess Exp $
+ * $Id: input_mms.c,v 1.59 2006/03/25 11:59:29 hadess Exp $
*
* mms input plugin based on work from major mms
*/
@@ -431,6 +431,8 @@ static const char *mms_class_get_identifier (input_class_t *this_gen) {
static void mms_class_dispose (input_class_t *this_gen) {
mms_input_class_t *this = (mms_input_class_t *) this_gen;
+ this->xine->config->unregister_callback(this->xine->config,
+ "media.network.bandwidth");
free (this);
}
@@ -477,6 +479,6 @@ static void *init_class (xine_t *xine, void *data) {
plugin_info_t xine_plugin_info[] = {
/* type, API, "name", version, special_info, init_function */
- { PLUGIN_INPUT | PLUGIN_MUST_PRELOAD | PLUGIN_NO_UNLOAD, 17, "mms", XINE_VERSION_CODE, NULL, init_class },
+ { PLUGIN_INPUT | PLUGIN_MUST_PRELOAD, 17, "mms", XINE_VERSION_CODE, NULL, init_class },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
};