mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
shout2: Use a non-timer GstPoll
Otherwise set_flushing() will have undefined semantics and nowadays causes a g_critical() to warn about that.
This commit is contained in:
parent
11c61f14bf
commit
9abc31df1a
1 changed files with 1 additions and 1 deletions
|
@ -240,7 +240,7 @@ gst_shout2send_init (GstShout2send * shout2send)
|
||||||
{
|
{
|
||||||
gst_base_sink_set_sync (GST_BASE_SINK (shout2send), FALSE);
|
gst_base_sink_set_sync (GST_BASE_SINK (shout2send), FALSE);
|
||||||
|
|
||||||
shout2send->timer = gst_poll_new_timer ();
|
shout2send->timer = gst_poll_new (TRUE);
|
||||||
|
|
||||||
shout2send->ip = g_strdup (DEFAULT_IP);
|
shout2send->ip = g_strdup (DEFAULT_IP);
|
||||||
shout2send->port = DEFAULT_PORT;
|
shout2send->port = DEFAULT_PORT;
|
||||||
|
|
Loading…
Reference in a new issue