GESTimelinePipeline: the _init_ method shouldn't return before the end

Fixes #644939
This commit is contained in:
Thibault Saunier 2011-03-16 19:58:54 -04:00 committed by Edward Hervey
parent 46e743f8eb
commit 49ac8a4e3e

View file

@ -142,7 +142,6 @@ ges_timeline_pipeline_init (GESTimelinePipeline * self)
GST_ERROR_OBJECT (self, "Can't create playsink instance !");
if (G_UNLIKELY (self->priv->encodebin == NULL))
GST_ERROR_OBJECT (self, "Can't create encodebin instance !");
return;
/* HACK : Intercept events going through playsink */
playsinkclass = GST_ELEMENT_GET_CLASS (self->priv->playsink);