Я пытаюсь связать playbin с элементом очереди, но всегда не удается
m_pipeline = gst_pipeline_new("player-pipeline");
m_playbin = gst_element_factory_make("playbin", "playbin");
m_queue = gst_element_factory_make("queue", "queue");
gst_bin_add_many(GST_BIN(m_pipeline), m_queue, m_playbin, NULL);
g_object_set(G_OBJECT(m_playbin), "uri", streamUri);
if (gst_element_link(m_queue, m_playbin) != TRUE) {
g_printerr("Elements could not be linked.\n");
gst_object_unref(m_pipeline);
return false;
}
спасибо