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

    if (app->sourceid != 0) {
	GST_DEBUG ("stop feeding");
	g_source_remove (app->sourceid);
	app->sourceid = 0;
    }
}
/* This callback is called when appsrc has enough data and we can stop sending.
 * We remove the idle handler from the mainloop */
This callback is called when appsrc has enough data and we can stop sending.
We remove the idle handler from the mainloop
This callback is called when appsrc has enough data and we can stop sending . We remove the idle handler from the mainloop
static void stop_feed (GstElement * pipeline, CustomData *app)
{
    (void)pipeline;
    if (app->sourceid != 0) {
	GST_DEBUG ("stop feeding");
	g_source_remove (app->sourceid);
	app->sourceid = 0;
    }
}
static void stop_feed ( GstElement * pipeline , CustomData * app ) { ( void ) pipeline ; if ( app -> sourceid != 0 ) { GST_DEBUG ( " " ) ; g_source_remove ( app -> sourceid ) ; app -> sourceid = 0 ; } }
This callback is called when appsrc has enough data and we can stop sending.
This callback is called when appsrc has enough data and we can stop sending .