diff options
author | Benjamin Otte <otte@gnome.org> | 2004-04-22 15:50:06 +0000 |
---|---|---|
committer | Benjamin Otte <otte@gnome.org> | 2004-04-22 15:50:06 +0000 |
commit | 7b602fe579f3e11fc7ad5675d6b56c3e8f8d5807 (patch) | |
tree | b105ed4e8a69bc9b6e0947b016339b2ffbe0bc22 /ext | |
parent | 86d79021cfd0ff1a9a7b9b763a88092b7e7d6c8b (diff) | |
download | gst-plugins-bad-7b602fe579f3e11fc7ad5675d6b56c3e8f8d5807.tar.gz gst-plugins-bad-7b602fe579f3e11fc7ad5675d6b56c3e8f8d5807.tar.bz2 gst-plugins-bad-7b602fe579f3e11fc7ad5675d6b56c3e8f8d5807.zip |
ext/shout/gstshout.c: fix shoutcast not working (fixes #140844)
Original commit message from CVS:
reviewed by Benjamin Otte <otte@gnome.org>
* ext/shout/gstshout.c: (gst_icecastsend_change_state):
fix shoutcast not working (fixes #140844)
Diffstat (limited to 'ext')
-rw-r--r-- | ext/shout/gstshout.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/shout/gstshout.c b/ext/shout/gstshout.c index 5f546dee..8dd05e56 100644 --- a/ext/shout/gstshout.c +++ b/ext/shout/gstshout.c @@ -386,7 +386,7 @@ gst_icecastsend_change_state (GstElement * element) /* if going down into NULL state, close the file if it's open */ switch (GST_STATE_TRANSITION (element)) { - case GST_STATE_READY_TO_NULL: + case GST_STATE_NULL_TO_READY: shout_init_connection (&icecastsend->conn); /* --- FIXME: shout requires an ip, and fails if it is given a host. */ @@ -416,7 +416,7 @@ gst_icecastsend_change_state (GstElement * element) return GST_STATE_FAILURE; } break; - case GST_STATE_PAUSED_TO_READY: + case GST_STATE_READY_TO_NULL: shout_disconnect (&icecastsend->conn); break; default: |