[gst-cvs] CVS: gstreamer/plugins/udp gstudpsink.c,1.2.4.1,1.2.4.2 gstudpsrc.c,1.3,1.3.4.1
Wim Taymans
wtay at users.sourceforge.net
Mon Oct 1 13:25:15 PDT 2001
Update of /cvsroot/gstreamer/gstreamer/plugins/udp
In directory usw-pr-cvs1:/tmp/cvs-serv531
Modified Files:
Tag: BRANCH-EVENTS1
gstudpsink.c gstudpsrc.c
Log Message:
Removed xml loadsave when compiled out.
Index: gstudpsink.c
===================================================================
RCS file: /cvsroot/gstreamer/gstreamer/plugins/udp/gstudpsink.c,v
retrieving revision 1.2.4.1
retrieving revision 1.2.4.2
diff -u -d -r1.2.4.1 -r1.2.4.2
--- gstudpsink.c 2001/09/12 19:41:23 1.2.4.1
+++ gstudpsink.c 2001/10/01 20:24:54 1.2.4.2
@@ -119,7 +119,9 @@
struct hostent *serverhost;
int fd;
FILE *f;
+#ifndef GST_DISABLE_LOADSAVE
xmlDocPtr doc;
+#endif
udpsink = GST_UDPSINK (gst_pad_get_parent (pad));
@@ -147,11 +149,13 @@
}
f = fdopen (dup (fd), "wb");
+#ifndef GST_DISABLE_LOADSAVE
doc = xmlNewDoc ("1.0");
doc->xmlRootNode = xmlNewDocNode (doc, NULL, "NewCaps", NULL);
gst_caps_save_thyself (caps, doc->xmlRootNode);
xmlDocDump(f, doc);
+#endif
fclose (f);
close (fd);
Index: gstudpsrc.c
===================================================================
RCS file: /cvsroot/gstreamer/gstreamer/plugins/udp/gstudpsrc.c,v
retrieving revision 1.3
retrieving revision 1.3.4.1
diff -u -d -r1.3 -r1.3.4.1
--- gstudpsrc.c 2001/08/10 17:40:34 1.3
+++ gstudpsrc.c 2001/10/01 20:24:54 1.3.4.1
@@ -136,6 +136,7 @@
if (select (udpsrc->control_sock+1, &read_fds, NULL, NULL, NULL) > 0) {
if (FD_ISSET (udpsrc->control_sock, &read_fds)) {
+#ifndef GST_DISABLE_LOADSAVE
guchar *buf;
int ret;
int fdread;
@@ -162,6 +163,7 @@
gst_pad_set_caps (udpsrc->srcpad, caps);
+#endif
outbuf = NULL;
}
else {
More information about the Gstreamer-commits
mailing list