mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 11:11:08 +00:00
aggregator: Remove pointless atomic
It is only modified from the streaming thread
This commit is contained in:
parent
53dd0c650f
commit
ec5ff5f308
1 changed files with 2 additions and 2 deletions
|
@ -402,7 +402,7 @@ gst_aggregator_push_mandatory_events (GstAggregator * self)
|
|||
{
|
||||
GstAggregatorPrivate *priv = self->priv;
|
||||
|
||||
if (g_atomic_int_get (&self->priv->send_stream_start)) {
|
||||
if (self->priv->send_stream_start) {
|
||||
gchar s_id[32];
|
||||
|
||||
GST_INFO_OBJECT (self, "pushing stream start");
|
||||
|
@ -411,7 +411,7 @@ gst_aggregator_push_mandatory_events (GstAggregator * self)
|
|||
if (!gst_pad_push_event (self->srcpad, gst_event_new_stream_start (s_id))) {
|
||||
GST_WARNING_OBJECT (self->srcpad, "Sending stream start event failed");
|
||||
}
|
||||
g_atomic_int_set (&self->priv->send_stream_start, FALSE);
|
||||
self->priv->send_stream_start = FALSE;
|
||||
}
|
||||
|
||||
if (self->priv->srccaps) {
|
||||
|
|
Loading…
Reference in a new issue