mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-23 15:48:23 +00:00
camerabin2: Set some queue's properties
Sets viewfinder queue to leaky and tell image branch queue to don't care about durations
This commit is contained in:
parent
4624e88b08
commit
d3a5058611
1 changed files with 3 additions and 0 deletions
|
@ -629,6 +629,9 @@ 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);
|
||||
|
||||
gst_bin_add_many (GST_BIN_CAST (camera),
|
||||
gst_object_ref (camera->encodebin),
|
||||
gst_object_ref (camera->videosink),
|
||||
|
|
Loading…
Reference in a new issue