Is that possible for a source element pushing GstBufferList?

Shu-Yu Fu shuyufu at gmail.com
Mon Jun 13 02:12:05 PDT 2011


Hello everyone,

Currently, I need to implement a source element which pushes a
GstBufferList.

But, a sub-class (GstPushSrc) of GstBaseSrc is expected to generate a
GstBuffer in the create function. Returning a GstBufferList is not valided
at all.

I am also grep the source code packages (gstreamer-0.10.34,
gst-plugins-base-0.10.34 and gst-plugins-good-0.10.29), but didn't find any
thing helpful.

But,the document says I can push a GstBufferList to the peer pad (
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstPad.html#gst-pad-push-list)
or chain a GstBufferList to a pad (
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstPad.html#gst-pad-chain-list
).

So, I was wondering does that means I have to write my own source element
(like GstBaseSrc did)?
Or, there is an easy way to do that?
Or, there are some examples I missed?

-- 
Sincerely,
Bobby
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110613/110e89ea/attachment.html>


More information about the gstreamer-devel mailing list