AW: how appsrc work ?

Thornton, Keith keith.thornton at zeiss.com
Thu Jul 2 05:14:26 PDT 2015


Appsrc takes data from somewhere and serves as the entry to your pipeline.
Create a buffer using something like
Gst_buffer_new_wrapped_full(...);
And insert it into your pipeline using
gst_app_src_push_buffer(appSrc,  buffer).


-----Ursprüngliche Nachricht-----
Von: gstreamer-devel [mailto:gstreamer-devel-bounces at lists.freedesktop.org] Im Auftrag von vkcorp
Gesendet: Donnerstag, 2. Juli 2015 12:36
An: gstreamer-devel at lists.freedesktop.org
Betreff: how appsrc work ?

I'm trying to check appsrc's code to track how it works.
I usually call gst_app_src_push_buffer() to feed it, but I can't find it to transfer next elements on pipeline.

I guess appsrc receive buffer and provide it to next element.

I just found gst_app_src_create() function but it just pop out buffer from queue and wouldn't send it to next element.
Actually I expected some kind of push_buffer() kinds of functions on it.

Are there any push functions on appsrc inside ?
Or maybe on basesrc ?




--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/how-appsrc-work-tp4672535.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


More information about the gstreamer-devel mailing list