why pipeline with appsrc can only work 200 times?

Jun Zhang zjustc at gmail.com
Tue Dec 6 09:16:12 PST 2011


Greetings,


 I constructed a pipeline like appsrc->filesink to test appsrc element,
which will use  "need-data" of appsrc.

  [g_signal_connect(G_OBJECT(app->appsrc),  "need-data",
G_CALLBACK(feed_data), app)]


  my feed_data function will read data from a array with 300 guint8 numbers.

The codes work fine in the beginning, however it will stop when feed_data
function read the 200th number.
I run it for many times, the code will always stop at reading 200th number.

Anyone knows how that happen?
Any trick to set the properties of appsrc?

Thanks,

Jun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20111206/7f348153/attachment.htm>


More information about the gstreamer-devel mailing list