From edd6b7ec72eb13709101117cfc7e1876762e240f Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 21 Sep 2006 09:50:41 +0000 Subject: [PATCH] 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. --- ChangeLog | 6 ++++++ gst/udp/README | 24 +++--------------------- gst/udp/gstudpsrc.c | 2 +- 3 files changed, 10 insertions(+), 22 deletions(-) diff --git a/ChangeLog b/ChangeLog index 861bdeb..1b5234a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2006-09-21 Wim Taymans + * gst/udp/README: + * gst/udp/gstudpsrc.c: (gst_udpsrc_set_property): + Update README, simple cleanup. + +2006-09-21 Wim Taymans + * gst/rtp/README: Update README with some examples. diff --git a/gst/udp/README b/gst/udp/README index d3335fc..9b7cebb 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 -Joshua N Pritikin -Zeeshan Ali diff --git a/gst/udp/gstudpsrc.c b/gst/udp/gstudpsrc.c index e7c6b09..6feccdb 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: -- 2.7.4