[gst-devel] basic pad duplication/splitter question

Christopher Harvey chris at basementcode.com
Fri Apr 23 23:14:18 CEST 2010


I've got this bit of code:
  assert(gst_bin_add(GST_BIN(thisPipe), v4lSrc));
  assert(gst_bin_add(GST_BIN(thisPipe), appSink));
  assert(gst_bin_add(GST_BIN(thisPipe), udpSink));

  assert(gst_element_link(v4lSrc, appSink));
  assert(gst_element_link(v4lSrc, udpSink));  //fails

I see why this is failing, the output pad of the v4lSrc is used by
appSink. What do I do if I want to link to both the app and udpSink?

Is sending raw video like that over udp a good idea? If there are lost
packets will I still get a reasonable image on the other end?

Thanks,
Chris

-- 
My GnuPGP key at:
www.basementcode.com/public_key.txt




More information about the gstreamer-devel mailing list