[longomatch: 5/5] QIP



commit e084584ecad41ce4d4b786a673ef6f3b6f3e0c23
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Tue Oct 2 16:59:45 2012 +0200

    QIP

 libcesarplayer/gst-camera-capturer.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/libcesarplayer/gst-camera-capturer.c b/libcesarplayer/gst-camera-capturer.c
index d1dc27b..01dd87f 100644
--- a/libcesarplayer/gst-camera-capturer.c
+++ b/libcesarplayer/gst-camera-capturer.c
@@ -261,6 +261,7 @@ gst_camera_capturer_finalize (GObject * object)
 
   if (gcc->priv->main_pipeline != NULL
       && GST_IS_ELEMENT (gcc->priv->main_pipeline)) {
+    gst_element_set_state (gcc->priv->main_pipeline, GST_STATE_NULL);
     gst_object_unref (gcc->priv->main_pipeline);
     gcc->priv->main_pipeline = NULL;
   }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]