timedvaluecontrolsource: Do not wrongly send value-removed

And avoid freeing something we do not own
This commit is contained in:
Thibault Saunier 2015-02-13 19:43:24 +01:00
parent a3cb89c487
commit 025c8343f2

View file

@ -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);