summaryrefslogtreecommitdiffstats
path: root/gst/udp
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2006-09-21 09:50:41 +0000
committerWim Taymans <wim.taymans@gmail.com>2006-09-21 09:50:41 +0000
commitedd6b7ec72eb13709101117cfc7e1876762e240f (patch)
tree38c61cf93385545a4fadc051b567e6f63200f964 /gst/udp
parent46d9a8a5e69743f571b0c4ea0a8a1ce1fcd8d937 (diff)
gst/udp/: Update README, simple cleanup.
Original commit message from CVS: * gst/udp/README: * gst/udp/gstudpsrc.c: (gst_udpsrc_set_property): Update README, simple cleanup.
Diffstat (limited to 'gst/udp')
-rw-r--r--gst/udp/README24
-rw-r--r--gst/udp/gstudpsrc.c2
2 files changed, 4 insertions, 22 deletions
diff --git a/gst/udp/README b/gst/udp/README
index d3335fc7..9b7cebb6 100644
--- a/gst/udp/README
+++ b/gst/udp/README
@@ -1,25 +1,7 @@
* What is UDP src/sink?
-This plugin is *not* meant to be a professional stream broadcast
-solution, like icecast or realaudio or whatever. But the future RTP plugins shall not do the actual transmission/reception of packets on the network themselve but the Application developer would be encouraged to use these plugins for that.
+It is a set of element to transfer data using UDP, nothing more, nothing less.
+Its main purpose is to be used in conjunction with RTP but they are kept as
+separate elements because we can.
-* Shortcomings
-Even given our modest ambitions, the current code doesn't handle
-caps negotiation robustly.
-
-* Todo
-
-The udp mode should include the caps every five packets
-(approx). The tcp mode can do bi-directional negotiation.
-
-Perhaps this plugin can be the example of how to do caps negotiation
-via a point-to-point protocol.
-
-Add some example of udpsrc/udpsink .
-Update the man of gst-launch with some interesting pipelines .
-
-12 Sep 2001
-Wim Taymans <wim.taymans@chello.be>
-Joshua N Pritikin <vishnu@pobox.com>
-Zeeshan Ali <zak147@yahoo.com>
diff --git a/gst/udp/gstudpsrc.c b/gst/udp/gstudpsrc.c
index e7c6b099..6feccdb1 100644
--- a/gst/udp/gstudpsrc.c
+++ b/gst/udp/gstudpsrc.c
@@ -485,7 +485,7 @@ gst_udpsrc_set_property (GObject * object, guint prop_id, const GValue * value,
if (g_value_get_string (value) == NULL)
udpsrc->multi_group = g_strdup (UDP_DEFAULT_MULTICAST_GROUP);
else
- udpsrc->multi_group = g_strdup (g_value_get_string (value));
+ udpsrc->multi_group = g_value_dup_string (value);
gst_udpsrc_update_uri (udpsrc);
break;
case PROP_URI: