timedvaluecontrolsource: Do not wrongly send value-removed
And avoid freeing something we do not own
This commit is contained in:
parent
a3cb89c487
commit
025c8343f2
@ -348,7 +348,10 @@ gst_timed_value_control_source_unset (GstTimedValueControlSource * self,
|
||||
self->nvalues--;
|
||||
self->valid_cache = FALSE;
|
||||
res = TRUE;
|
||||
} else {
|
||||
cp = NULL;
|
||||
}
|
||||
|
||||
}
|
||||
g_mutex_unlock (&self->lock);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user