6 /* eos will be called when the src element has an end of stream */
7 void eos(GstElement *element, gpointer data)
9 g_print("have eos, quitting\n");
14 int main(int argc,char *argv[])
20 gst_init(&argc,&argv);
22 xml = gst_xml_new("xmlTest.gst", NULL);
24 bin = gst_xml_get_element(xml, "bin");
26 gst_element_set_state(bin, GST_STATE_PLAYING);
31 gst_bin_iterate(GST_BIN(bin));
34 gst_element_set_state(bin, GST_STATE_NULL);