Commit ab316b83 authored by Wim Taymans's avatar Wim Taymans
Browse files

load save dependencies removed

Original commit message from CVS:
load save dependencies removed
parent 6ec8d606
......@@ -55,7 +55,9 @@ int main(int argc,char *argv[]) {
gst_pad_connect(gst_element_get_pad(queue,"src"),
gst_element_get_pad(play,"sink"));
#ifndef GST_DISABLE_LOADSAVE
xmlSaveFile("ac3play.gst", gst_xml_write(GST_ELEMENT(pipeline)));
#endif
// set thread start state
g_object_set(G_OBJECT(decodethread),"create_thread",TRUE,NULL);
......
......@@ -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_PLAYING);
#ifndef GST_DISABLE_LOADSAVE
xmlSaveFile("aviparse.xml",gst_xml_write(GST_ELEMENT(pipeline)));
#endif
g_print("about to enter loop\n");
......
......@@ -86,7 +86,9 @@ main (int argc,char *argv[])
gtk_widget_show_all(appwindow);
#ifndef GST_DISABLE_LOADSAVE
xmlSaveFile("dvshow.xml",gst_xml_write(GST_ELEMENT(bin)));
#endif
gst_element_set_state(GST_ELEMENT(bin),GST_STATE_PLAYING);
......
......@@ -140,7 +140,9 @@ gst_play_have_type (GstElement *typefind, GstCaps *caps, GstPlayInfo *info)
gst_element_set_state (pipeline, GST_STATE_PLAYING);
#ifndef GST_DISABLE_LOADSAVE
xmlSaveFile("xmlTest.gst", gst_xml_write (GST_ELEMENT (pipeline)));
#endif
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment