mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
aggregator: Remove pointless atomic
It is only modified from the streaming thread
This commit is contained in:
parent
22ea83e7fa
commit
9ba9873b1f
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