mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 23:18:52 +00:00
timedvaluecontrolsource: Do not wrongly send value-removed
And avoid freeing something we do not own
This commit is contained in:
parent
a3cb89c487
commit
025c8343f2
1 changed files with 3 additions and 0 deletions
|
@ -348,7 +348,10 @@ gst_timed_value_control_source_unset (GstTimedValueControlSource * self,
|
||||||
self->nvalues--;
|
self->nvalues--;
|
||||||
self->valid_cache = FALSE;
|
self->valid_cache = FALSE;
|
||||||
res = TRUE;
|
res = TRUE;
|
||||||
|
} else {
|
||||||
|
cp = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
g_mutex_unlock (&self->lock);
|
g_mutex_unlock (&self->lock);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue