mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-04 15:36:35 +00:00
Added ifdefs around xml code when it was not compiled into the core.
Original commit message from CVS: Added ifdefs around xml code when it was not compiled into the core.
This commit is contained in:
parent
95fae173f7
commit
0ff096c841
3 changed files with 11 additions and 1 deletions
|
@ -5,10 +5,16 @@ else
|
|||
GST_REGISTRY_SRC = gstreamer-register
|
||||
endif
|
||||
|
||||
if GST_DISABLE_LOADSAVE
|
||||
GST_LOADSAVE_SRC =
|
||||
else
|
||||
GST_LOADSAVE_SRC = gstreamer-compprep
|
||||
endif
|
||||
|
||||
bin_PROGRAMS = gstreamer-launch \
|
||||
$(GST_REGISTRY_SRC) \
|
||||
gstreamer-inspect \
|
||||
gstreamer-compprep \
|
||||
$(GST_LOADSAVE_SRC) \
|
||||
gstreamer-complete
|
||||
|
||||
man_MANS = gstreamer-launch.1 gstreamer-register.1 gstreamer-inspect.1 \
|
||||
|
|
|
@ -221,10 +221,12 @@ print_element_info (GstElementFactory *factory)
|
|||
|
||||
printf(" Has change_state() function: %s\n",
|
||||
GST_DEBUG_FUNCPTR_NAME(gstelement_class->change_state));
|
||||
#ifndef GST_DISABLE_LOADSAVE
|
||||
printf(" Has custom save_thyself() function: %s\n",
|
||||
GST_DEBUG_FUNCPTR_NAME(gstobject_class->save_thyself));
|
||||
printf(" Has custom restore_thyself() function: %s\n",
|
||||
GST_DEBUG_FUNCPTR_NAME(gstobject_class->restore_thyself));
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -152,9 +152,11 @@ main(int argc, char *argv[])
|
|||
|
||||
gst_parse_launch (cmdline, GST_BIN (pipeline));
|
||||
|
||||
#ifndef GST_DISABLE_LOADSAVE
|
||||
if (save_pipeline) {
|
||||
xmlSaveFile (savefile, gst_xml_write (pipeline));
|
||||
}
|
||||
#endif
|
||||
if (run_pipeline) {
|
||||
arg_search(GST_BIN(pipeline),"xid",xid_handler,NULL);
|
||||
|
||||
|
|
Loading…
Reference in a new issue