gstreamer-pad question on gst_pad_pull_range

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

gstreamer-pad question on gst_pad_pull_range

bcxa sz
Hi Developers,

I have one question on the gst_pad_pull_range. From the code, it
seemed that there will always be one buffer allocated when
gst_pad_pull_range. And this buffer will be allocated inside this
function.

But in lots of cases, that the buffer is better to allocated by
external code to get better performance. For example, the buffer can
be some specific bytes aligned (to match hardware), to be contiguous,
or something else.

So I prefer that one buffer will be allocated some where else not
inside gst_pad_pull_range, and one function like gst_pad_pull_range()
just read data to this buffer and not allocate a new buffer. How to
achieve with gstreamer code?

best regards
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel