summaryrefslogtreecommitdiff
path: root/gst/gstpad.c
diff options
context:
space:
mode:
authorErik Walthinsen <omega@temple-baptist.org>2001-06-24 21:18:28 +0000
committerErik Walthinsen <omega@temple-baptist.org>2001-06-24 21:18:28 +0000
commit2703619624604e7cf1fc5e9cb5908f60cf5704c9 (patch)
treef1b54c6210b9a97bb58dc2d3c8d735b9334a377b /gst/gstpad.c
parentf19c6342c91f1af6dcfb8f29b0b605a0b3f1850b (diff)
initial pass at #ifdef'ing xml load/saveGOBJECT1-200106241-FREEZEBRANCH-GOBJECT1-200106241-ROOT
Original commit message from CVS: initial pass at #ifdef'ing xml load/save
Diffstat (limited to 'gst/gstpad.c')
-rw-r--r--gst/gstpad.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gst/gstpad.c b/gst/gstpad.c
index 0ea2a3b6b5..ce12e7126a 100644
--- a/gst/gstpad.c
+++ b/gst/gstpad.c
@@ -34,7 +34,9 @@
static void gst_pad_class_init (GstPadClass *klass);
static void gst_pad_init (GstPad *pad);
+#ifndef GST_DISABLE_XML
static xmlNodePtr gst_pad_save_thyself (GstObject *object, xmlNodePtr parent);
+#endif
static GstObject *pad_parent_class = NULL;
@@ -171,7 +173,9 @@ gst_real_pad_class_init (GstRealPadClass *klass)
gtkobject_class->set_arg = GST_DEBUG_FUNCPTR(gst_real_pad_set_arg);
gtkobject_class->get_arg = GST_DEBUG_FUNCPTR(gst_real_pad_get_arg);
+#ifndef GST_DISABLE_XML
gstobject_class->save_thyself = GST_DEBUG_FUNCPTR(gst_pad_save_thyself);
+#endif
gstobject_class->path_string_separator = ".";
}
@@ -1081,6 +1085,7 @@ gst_real_pad_destroy (GtkObject *object)
}
+#ifndef GST_DISABLE_XML
/**
* gst_pad_load_and_connect:
* @self: the XML node to read the description from
@@ -1137,6 +1142,7 @@ gst_pad_load_and_connect (xmlNodePtr self,
cleanup:
g_strfreev (split);
}
+#endif // GST_DISABLE_XML
static gboolean
gst_pad_renegotiate_func (GstPad *pad, gpointer *data1, GstPad *peerpad, gpointer *data2, GstCaps **newcaps)
@@ -1384,6 +1390,7 @@ gst_pad_negotiate_proxy (GstPad *srcpad, GstPad *destpad, GstCaps **caps)
return GST_PAD_NEGOTIATE_AGREE;
}
+#ifndef GST_DISABLE_XML
/**
* gst_pad_save_thyself:
* @pad: the pad to save
@@ -1444,6 +1451,7 @@ gst_pad_ghost_save_thyself (GstPad *pad,
return self;
}
+#endif // GST_DISABLE_XML
#ifndef gst_pad_push
/**