diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2016-06-29 23:31:20 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2016-06-29 23:31:20 +0200 |
commit | 9abc31df1a498a13e255a899756efc9ca4b299a4 (patch) | |
tree | 3490db0b79fa64b9a07bd9ed78b7aa686451c59f /ext | |
parent | 11c61f14bf98946476e3dfe31e7af895604cbcbe (diff) |
shout2: Use a non-timer GstPoll
Otherwise set_flushing() will have undefined semantics and nowadays causes a
g_critical() to warn about that.
Diffstat (limited to 'ext')
-rw-r--r-- | ext/shout2/gstshout2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/shout2/gstshout2.c b/ext/shout2/gstshout2.c index 3952e7782..ca58e34eb 100644 --- a/ext/shout2/gstshout2.c +++ b/ext/shout2/gstshout2.c @@ -240,7 +240,7 @@ gst_shout2send_init (GstShout2send * shout2send) { 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->port = DEFAULT_PORT; |