why pipeline with appsrc can only work 200 times?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

why pipeline with appsrc can only work 200 times?

Nathan

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


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel