No subject


Sun Feb 20 09:24:37 PST 2011


Buffersink is a sink that stores a stream to a GstBuffer.  Buffersrc
is a source that uses as the source a GstBuffer.  These are meant to
be used together.  Typically you'd use them with something like:

  GstBuffer *buf;
  GstCaps *caps;
  GstElement *bufsink, *bufsrc;

...	// Run a pipeline that uses bufsink as a sink

  g_object_get (bufsink, "buffer", &buf, NULL);
  g_object_set (bufsrc, "buffer", buf, NULL);
  g_object_get (bufsink, "caps", &caps, NULL);
  g_object_set (bufsrc, "caps", caps, NULL);

  gst_element_link (bufsrc, sink);




More information about the gstreamer-devel mailing list