gst-plugins-bad: camerabin2: Set queues to silent

Thiago Sousa Santos thiagoss at kemper.freedesktop.org
Fri Mar 11 13:41:34 PST 2011


Module: gst-plugins-bad
Branch: master
Commit: ba878f7427097e89c02162856e1b8af50da8d9eb
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=ba878f7427097e89c02162856e1b8af50da8d9eb

Author: Thiago Santos <thiago.sousa.santos at collabora.co.uk>
Date:   Fri Mar 11 18:23:22 2011 -0300

camerabin2: Set queues to silent

Optimize a little by setting queues to silent

---

 gst/camerabin2/gstcamerabin2.c |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/gst/camerabin2/gstcamerabin2.c b/gst/camerabin2/gstcamerabin2.c
index 327d6e3..32311da 100644
--- a/gst/camerabin2/gstcamerabin2.c
+++ b/gst/camerabin2/gstcamerabin2.c
@@ -872,8 +872,11 @@ gst_camera_bin_create_elements (GstCameraBin * camera)
     camera->viewfinderbin_queue =
         gst_element_factory_make ("queue", "viewfinderbin-queue");
 
-    g_object_set (camera->viewfinderbin_queue, "leaky", 2, NULL);
-    g_object_set (camera->imagebin_queue, "max-size-time", (guint64) 0, NULL);
+    g_object_set (camera->viewfinderbin_queue, "leaky", 2, "silent", TRUE,
+        NULL);
+    g_object_set (camera->imagebin_queue, "max-size-time", (guint64) 0,
+        "silent", TRUE, NULL);
+    g_object_set (camera->videobin_queue, "silent", TRUE, NULL);
 
     gst_bin_add_many (GST_BIN_CAST (camera),
         gst_object_ref (camera->encodebin),



More information about the gstreamer-commits mailing list