[gst-devel] application using appsrc

Irfan Shaikh irfanshaikh at tataelxsi.co.in
Fri Apr 30 12:40:28 CEST 2010


Hi all,

       I have written an application which reads an Jpeg file in application and sends the same to gstreamer plugin using APPSRC in a loop.
I have a doubt why the appsrc chain fucntion is being called so many times and filesink is called only at end once, However jpeg file dumped is as expected.
I had a understanding all the plugin elements run sequentially. (Refer appsrc.c)

Following is the log

gstappsrc.c      gst_app_src_push_buffer         1408 size of the BUFFER =  33297
gstappsrc.c      gst_app_src_push_buffer         1408 size of the BUFFER =  33297
.
.
.
gstappsrc.c      gst_app_src_push_buffer         1408 size of the BUFFER =  33297
gstappsrc.c      gst_app_src_push_buffer         1408 size of the BUFFER =  33297
gstfilesink.c    gst_file_sink_render    646 FILESINK : writing data of size = 33297               //FILESINK Chain called only at end




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20100430/22e83a35/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: appsrc.c
Type: text/x-csrc
Size: 2151 bytes
Desc: appsrc.c
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20100430/22e83a35/attachment.c>


More information about the gstreamer-devel mailing list