mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
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)
This commit is contained in:
parent
86d79021cf
commit
7b602fe579
2 changed files with 9 additions and 2 deletions
|
@ -1,3 +1,10 @@
|
|||
2004-04-22 Zaheer Abbas Merali <zaheerabbas@merali.org>
|
||||
|
||||
reviewed by Benjamin Otte <otte@gnome.org>
|
||||
|
||||
* ext/shout/gstshout.c: (gst_icecastsend_change_state):
|
||||
fix shoutcast not working (fixes #140844)
|
||||
|
||||
2004-04-22 Benjamin Otte <otte@gnome.org>
|
||||
|
||||
* ext/hermes/gsthermescolorspace.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:
|
||||
|
|
Loading…
Reference in a new issue