mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 00:01:23 +00:00
encodebin: fix queue property types when setting
This commit is contained in:
parent
01f467f6a4
commit
b00bba5d43
1 changed files with 2 additions and 2 deletions
|
@ -1342,8 +1342,8 @@ _create_stream_group (GstEncodeBin * ebin, GstEncodingProfile * sprof,
|
|||
* FIXME : figure out what max-size to use for the input queue */
|
||||
sgroup->inqueue = gst_element_factory_make ("queue", NULL);
|
||||
g_object_set (sgroup->inqueue, "max-size-buffers",
|
||||
(guint32) ebin->queue_buffers_max, "max-size-bytes",
|
||||
(guint32) ebin->queue_bytes_max, "max-size-time",
|
||||
(guint) ebin->queue_buffers_max, "max-size-bytes",
|
||||
(guint) ebin->queue_bytes_max, "max-size-time",
|
||||
(guint64) ebin->queue_time_max, "silent", TRUE, NULL);
|
||||
|
||||
gst_bin_add (GST_BIN (ebin), sgroup->inqueue);
|
||||
|
|
Loading…
Reference in a new issue