qt/quickmwtest_gst/gst.c
static void start_feed (GstElement * pipeline, guint size, CustomData *app)
{
    (void)pipeline;
    (void)size;

    if (app->sourceid == 0) {
	GST_DEBUG ("start feeding");
	app->sourceid = g_idle_add ((GSourceFunc) read_data, app);
    }
}
/* This signal callback is called when appsrc needs data, we add an idle handler
 * to the mainloop to start pushing data into the appsrc */
This signal callback is called when appsrc needs data, we add an idle handler
to the mainloop to start pushing data into the appsrc
This signal callback is called when appsrc needs data we add an idle handler to the mainloop to start pushing data into the appsrc
static void start_feed (GstElement * pipeline, guint size, CustomData *app)
{
    (void)pipeline;
    (void)size;
    if (app->sourceid == 0) {
	GST_DEBUG ("start feeding");
	app->sourceid = g_idle_add ((GSourceFunc) read_data, app);
    }
}
static void start_feed ( GstElement * pipeline , guint size , CustomData * app ) { ( void ) pipeline ; ( void ) size ; if ( app -> sourceid == 0 ) { GST_DEBUG ( " " ) ; app -> sourceid = g_idle_add ( ( GSourceFunc ) read_data , app ) ; } }
This signal callback is called when appsrc needs data, we add an idle handler
 to the mainloop to start pushing data into the appsrc
This signal callback is called when appsrc needs data we add an idle handler to the mainloop to start pushing data into the appsrc