From: Erik W. <ome...@us...> - 2001-10-17 10:21:57
|
Update of /cvsroot/gstreamer/gstreamer/examples/mixer In directory usw-pr-cvs1:/tmp/cvs-serv21419/examples/mixer Modified Files: mixer.c Log Message: merge from EVENTS1 on 20011016 Index: mixer.c =================================================================== RCS file: /cvsroot/gstreamer/gstreamer/examples/mixer/mixer.c,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- mixer.c 2001/08/29 09:00:49 1.10 +++ mixer.c 2001/10/17 10:21:24 1.11 @@ -182,7 +182,9 @@ } env_register_cp (channel_in->volenv, num_channels * 10.0 , 1.0 / num_channels); /* to end level */ +#ifndef GST_DISABLE_LOADSAVE xmlSaveFile("mixer.xml", gst_xml_write(GST_ELEMENT(main_bin))); +#endif /* start playing */ gst_element_set_state(main_bin, GST_STATE_PLAYING); @@ -356,7 +358,9 @@ gst_element_get_pad (decoder, "src"), "src_00"); #endif +#ifndef GST_DISABLE_LOADSAVE xmlSaveFile ("mixer.gst", gst_xml_write (new_element)); +#endif gst_bin_add (GST_BIN(channel->pipe), channel->volenv); gst_bin_add (GST_BIN (channel->pipe), new_element); |