> > > > + VNC_DEBUG("Could not add source to gst pipeline\n"); > > > > + goto error; > > > > + } > > > > + > > > > + gst_object_ref(vs->h264->convert); > > > > + if (!gst_bin_add(GST_BIN(vs->h264->pipeline), vs->h264->convert)) { > > > > > > Can you use gst_bin_add_many() ? > > > > will try to use that.
I really struggle to use those functions. Documentation states that gst_bin_add() can fail, but gst_bin_add_many() simply ignores the results of gst_bin_add() (explicitly stated in the docs)? Do you really want to use gst_bin_add_many() anyways? - Dietmar