aboutsummaryrefslogtreecommitdiffstats
path: root/src/input_mms.c
diff options
context:
space:
mode:
authorPeter Colberg <peter@colberg.org>2009-02-18 22:43:10 +0100
committerMax Kellermann <max@duempel.org>2009-02-19 07:34:07 +0100
commitde6cc2691f693e133fc05d9bce6377cac2c56ba5 (patch)
treed282214f71e75073197f4a0c87210d563f23e039 /src/input_mms.c
parent9f8740a0d617608db146a5d5f492d114861e1b15 (diff)
downloadmpd-de6cc2691f693e133fc05d9bce6377cac2c56ba5.tar.gz
mpd-de6cc2691f693e133fc05d9bce6377cac2c56ba5.tar.xz
mpd-de6cc2691f693e133fc05d9bce6377cac2c56ba5.zip
mms: fix assertion in input_stream_open
Hi, upon trying to play an MMS stream added to the play list, I got this: mpd: /tmp/mpd/./src/input_stream.c:85: input_stream_open: Assertion `is->plugin->open == ((void *)0) || is->plugin == plugin' failed. With the following patch applied, it works perfectly. Thanks for having implemented MMS support :-). Best regards, Peter
Diffstat (limited to 'src/input_mms.c')
-rw-r--r--src/input_mms.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/input_mms.c b/src/input_mms.c
index 2e4b049ac..d81be0845 100644
--- a/src/input_mms.c
+++ b/src/input_mms.c
@@ -56,6 +56,7 @@ input_mms_open(struct input_stream *is, const char *url)
decoder, which seems to work fine*/
is->mime = g_strdup("audio/x-ms-wma");
+ is->plugin = &input_plugin_mms;
is->data = m;
is->ready = true;
return true;