mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
camerabin2: Set queues to silent
Optimize a little by setting queues to silent
This commit is contained in:
parent
b2f39d1844
commit
ba878f7427
1 changed files with 5 additions and 2 deletions
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue