summaryrefslogtreecommitdiff
path: root/gst/gstelementfactory.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/gstelementfactory.c')
-rw-r--r--gst/gstelementfactory.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gst/gstelementfactory.c b/gst/gstelementfactory.c
index dc5f5659c3..62e207290f 100644
--- a/gst/gstelementfactory.c
+++ b/gst/gstelementfactory.c
@@ -287,6 +287,7 @@ gst_elementfactory_can_sink_caps (GstElementFactory *factory,
return FALSE;
}
+#ifndef GST_DISABLE_XML
/**
* gst_elementfactory_save_thyself:
* @factory: factory to save
@@ -380,4 +381,4 @@ gst_elementfactory_load_thyself (xmlNodePtr parent)
return factory;
}
-
+#endif // GST_DISABLE_XML