remove loadsave deps

Original commit message from CVS:
remove loadsave deps
This commit is contained in:
Wim Taymans 2001-10-01 20:53:34 +00:00
parent 613a8fe1dd
commit e303a9c266
6 changed files with 28 additions and 4 deletions

View file

@ -5,10 +5,16 @@ else
GNOME_SUBDS =
endif
SUBDIRS = $(GNOME_SUBDS) \
if GST_DISABLE_LOADSAVE
GST_LOADSAVE_DIRS =
else
GST_LOADSAVE_DIRS = xml typefind
endif
SUBDIRS = $(GNOME_SUBDS) $(GST_LOADSAVE_DIRS) \
helloworld helloworld2 \
queue queue2 queue3 queue4 \
launch thread xml plugins typefind mixer cutter
launch thread plugins mixer cutter
DIST_SUBDIRS = autoplug \
helloworld helloworld2 \

View file

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

View file

@ -182,7 +182,9 @@ int main(int argc,char *argv[])
}
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 @@ create_input_channel (int id, char* location)
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);

View file

@ -5,10 +5,16 @@ else
GNOME_SUBDS =
endif
SUBDIRS = $(GNOME_SUBDS) \
if GST_DISABLE_LOADSAVE
GST_LOADSAVE_DIRS =
else
GST_LOADSAVE_DIRS = xml typefind
endif
SUBDIRS = $(GNOME_SUBDS) $(GST_LOADSAVE_DIRS) \
helloworld helloworld2 \
queue queue2 queue3 queue4 \
launch thread xml plugins typefind mixer cutter
launch thread plugins mixer cutter
DIST_SUBDIRS = autoplug \
helloworld helloworld2 \

View file

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

View file

@ -182,7 +182,9 @@ int main(int argc,char *argv[])
}
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 @@ create_input_channel (int id, char* location)
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);