diff options
Diffstat (limited to 'gst/gstpad.c')
-rw-r--r-- | gst/gstpad.c | 8 |
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 /** |