why appsrc can only work 200 times?

Nathan zjustc at gmail.com
Tue Dec 6 09:09:53 PST 2011


Greetings,

  Currently, I am testing the appsrc element, which will use  "need-data"
signal.
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 the
feed_data read the 200th number.
I run it for many times, the code will exactly stop at 200th number.

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

Thanks,

Jun 

--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/why-appsrc-can-only-work-200-times-tp4165570p4165570.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list