Pushing data from application to multiple appsrc in a pipeline
Manoj89
manoj89vcet at gmail.com
Tue Jun 3 01:48:20 PDT 2014
Hi,
When I push the data from the application to multiple appsrc in a
pipeline I will be using the "need-data","enough-data","seek-data" signals
per appsrc basis like this:
g_signal_connect(data->appsrc1,"need-data",G_CALLBACK(start_feed1),NULL);
g_signal_connect(data->appsrc1,"enough-data",G_CALLBACK(stop_feed1),NULL);
g_signal_connect(data->appsrc1,"seek-data",G_CALLBACK(seek_feed1),NULL);
g_signal_connect(data->appsrc2,"need-data",G_CALLBACK(start_feed2),NULL);
g_signal_connect(data->appsrc2,"enough-data",G_CALLBACK(stop_feed2),NULL);
g_signal_connect(data->appsrc2,"seek-data",G_CALLBACK(seek_feed2),NULL);
Is this right way of pushing the data from application to multiple appsrc ?
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Pushing-data-from-application-to-multiple-appsrc-in-a-pipeline-tp4667349.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list