mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-04 23:46:43 +00:00
load save dependencies removed
Original commit message from CVS: load save dependencies removed
This commit is contained in:
parent
6ec8d606ed
commit
ab316b83a8
4 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue