<p class="MsoNormal">Greetings,<br>
</p><p class="MsoNormal"><br></p><p class="MsoNormal"> I constructed a pipeline like appsrc->filesink to test appsrc element, which will use
"need-data" of appsrc.<br>
<br>
[g_signal_connect(G_OBJECT(app->appsrc), "need-data", G_CALLBACK(feed_data), app)]</p><p class="MsoNormal"><br></p><p class="MsoNormal">
my feed_data function will read data from a array with 300 guint8
numbers.<br>
<br>
The codes work fine in the beginning, however it will stop when feed_data function read the 200th number.<br>
I run it for many times, the code will always stop at reading 200th number.<br>
<br>
Anyone knows how that happen?<br>
Any trick to set the properties of appsrc?<br>
<br>
Thanks,<br>
<br>
Jun</p>