load save dependencies removed

Original commit message from CVS:
load save dependencies removed
This commit is contained in:
Wim Taymans 2001-10-01 20:52:36 +00:00
parent 6ec8d606ed
commit ab316b83a8
4 changed files with 8 additions and 0 deletions

View file

@ -55,7 +55,9 @@ int main(int argc,char *argv[]) {
gst_pad_connect(gst_element_get_pad(queue,"src"), gst_pad_connect(gst_element_get_pad(queue,"src"),
gst_element_get_pad(play,"sink")); gst_element_get_pad(play,"sink"));
#ifndef GST_DISABLE_LOADSAVE
xmlSaveFile("ac3play.gst", gst_xml_write(GST_ELEMENT(pipeline))); xmlSaveFile("ac3play.gst", gst_xml_write(GST_ELEMENT(pipeline)));
#endif
// set thread start state // set thread start state
g_object_set(G_OBJECT(decodethread),"create_thread",TRUE,NULL); g_object_set(G_OBJECT(decodethread),"create_thread",TRUE,NULL);

View file

@ -128,7 +128,9 @@ int main(int argc,char *argv[]) {
gst_element_set_state(GST_ELEMENT(pipeline),GST_STATE_READY); gst_element_set_state(GST_ELEMENT(pipeline),GST_STATE_READY);
gst_element_set_state(GST_ELEMENT(pipeline),GST_STATE_PLAYING); gst_element_set_state(GST_ELEMENT(pipeline),GST_STATE_PLAYING);
#ifndef GST_DISABLE_LOADSAVE
xmlSaveFile("aviparse.xml",gst_xml_write(GST_ELEMENT(pipeline))); xmlSaveFile("aviparse.xml",gst_xml_write(GST_ELEMENT(pipeline)));
#endif
g_print("about to enter loop\n"); g_print("about to enter loop\n");

View file

@ -86,7 +86,9 @@ main (int argc,char *argv[])
gtk_widget_show_all(appwindow); gtk_widget_show_all(appwindow);
#ifndef GST_DISABLE_LOADSAVE
xmlSaveFile("dvshow.xml",gst_xml_write(GST_ELEMENT(bin))); xmlSaveFile("dvshow.xml",gst_xml_write(GST_ELEMENT(bin)));
#endif
gst_element_set_state(GST_ELEMENT(bin),GST_STATE_PLAYING); gst_element_set_state(GST_ELEMENT(bin),GST_STATE_PLAYING);

View file

@ -140,7 +140,9 @@ gst_play_have_type (GstElement *typefind, GstCaps *caps, GstPlayInfo *info)
gst_element_set_state (pipeline, GST_STATE_PLAYING); gst_element_set_state (pipeline, GST_STATE_PLAYING);
#ifndef GST_DISABLE_LOADSAVE
xmlSaveFile("xmlTest.gst", gst_xml_write (GST_ELEMENT (pipeline))); xmlSaveFile("xmlTest.gst", gst_xml_write (GST_ELEMENT (pipeline)));
#endif
} }