improve cleanup

Start stream when input socket is given.
This commit is contained in:
Wim Taymans 2015-05-27 16:08:51 +02:00
parent f50d1548d5
commit ac6d73f913
3 changed files with 21 additions and 0 deletions

View file

@ -120,6 +120,9 @@ gst_pulsevideo_src_finalize (GObject * object)
{
GstPulsevideoSrc *pvsrc = GST_PULSEVIDEO_SRC (object);
g_object_unref (pvsrc->fd_allocator);
g_mutex_clear (&pvsrc->lock);
g_cond_clear (&pvsrc->cond);
g_free (pvsrc->source);
G_OBJECT_CLASS (parent_class)->finalize (object);