<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7653.38">
<TITLE>application using appsrc</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<BR>

<P><FONT SIZE=2>Hi all,<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I have written an application which reads an Jpeg file in application and sends the same to gstreamer plugin using APPSRC in a loop.<BR>
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.<BR>
I had a understanding all the plugin elements run sequentially. (Refer appsrc.c)<BR>
<BR>
Following is the log<BR>
<BR>
gstappsrc.c&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; gst_app_src_push_buffer&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1408 size of the BUFFER =&nbsp; 33297<BR>
gstappsrc.c&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; gst_app_src_push_buffer&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1408 size of the BUFFER =&nbsp; 33297<BR>
.<BR>
.<BR>
.<BR>
gstappsrc.c&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; gst_app_src_push_buffer&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1408 size of the BUFFER =&nbsp; 33297<BR>
gstappsrc.c&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; gst_app_src_push_buffer&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1408 size of the BUFFER =&nbsp; 33297<BR>
gstfilesink.c&nbsp;&nbsp;&nbsp; gst_file_sink_render&nbsp;&nbsp;&nbsp; 646 FILESINK : writing data of size = 33297&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //FILESINK Chain called only at end<BR>
<BR>
<BR>
<BR>
</FONT>
</P>

<pre style="white-space:normal"><br></pre></BODY>
</HTML>