if (!gst_camerabin_add_element (vidbin, vid->video_queue)) {
goto error;
}
+ g_object_set (vid->video_queue, "silent", TRUE, NULL);
/* Add probe for rewriting video timestamps */
vid->vid_tee_probe_id = gst_pad_add_buffer_probe (vid->tee_video_srcpad,
if (!gst_camerabin_add_element (vidbin, queue)) {
goto error;
}
+ g_object_set (queue, "silent", TRUE, NULL);
/* Add optional audio conversion and volume elements and
raise no errors if adding them fails */
}
/* Set queue leaky, we don't want to block video encoder feed, but
prefer leaking view finder buffers instead. */
- g_object_set (G_OBJECT (queue), "leaky", 2, "max-size-buffers", 1, NULL);
+ g_object_set (G_OBJECT (queue), "leaky", 2, "max-size-buffers", 1, "silent",
+ TRUE, NULL);
/* Set up src ghost pad for video bin */
vid_srcpad = gst_element_get_static_pad (queue, "src");
but deadlocks must be handled somehow... */
g_object_set (G_OBJECT (camera->img_queue), "max-size-buffers", 0,
"max-size-bytes", 0, "max-size-time", G_GUINT64_CONSTANT (0), NULL);
+ g_object_set (camera->img_queue, "silent", TRUE, NULL);
camera->pad_src_queue = gst_element_get_static_pad (camera->img_queue, "src");