mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 02:01:12 +00:00
factory-uri: attempt to configure buffer-lists
Attempt to configure buffer lists in the payloader for improved performance.
This commit is contained in:
parent
790c067919
commit
257bac1bab
1 changed files with 4 additions and 0 deletions
|
@ -444,6 +444,10 @@ pad_added_cb (GstElement * uribin, GstPad * pad, GstElement * element)
|
|||
g_object_set (payloader, "pt", data->pt, NULL);
|
||||
data->pt++;
|
||||
|
||||
if (g_object_class_find_property (G_OBJECT_GET_CLASS (payloader),
|
||||
"buffer-list"))
|
||||
g_object_set (payloader, "buffer-list", TRUE, NULL);
|
||||
|
||||
/* add the payloader to the pipeline */
|
||||
gst_bin_add (GST_BIN_CAST (element), payloader);
|
||||
gst_element_set_state (payloader, GST_STATE_PLAYING);
|
||||
|
|
Loading…
Reference in a new issue