summaryrefslogtreecommitdiffstats
path: root/gst/udp/gstudpsink.c
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2002-03-19 04:10:05 +0000
committerAndy Wingo <wingo@pobox.com>2002-03-19 04:10:05 +0000
commitd6258153e0aa7d3fe89a31acd3e57b9c13de4464 (patch)
tree92fd06f31c13bf0eee35395bfcef45ba6166c0d8 /gst/udp/gstudpsink.c
parent0f1d7549324aa62357580b1b35e61bec6b6482ab (diff)
removal of //-style comments don't link plugins to core libs -- the versioning is done internally to the plugins with...
Original commit message from CVS: * removal of //-style comments * don't link plugins to core libs -- the versioning is done internally to the plugins with the plugin_info struct, and symbol resolution is lazy, so we can always know if a plugin can be loaded by the plugin_info data. in theory.
Diffstat (limited to 'gst/udp/gstudpsink.c')
-rw-r--r--gst/udp/gstudpsink.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gst/udp/gstudpsink.c b/gst/udp/gstudpsink.c
index 9d4143e2..1f42aace 100644
--- a/gst/udp/gstudpsink.c
+++ b/gst/udp/gstudpsink.c
@@ -60,7 +60,7 @@ static void gst_udpsink_get_property (GObject *object, guint prop_id,
static GstElementClass *parent_class = NULL;
-//static guint gst_udpsink_signals[LAST_SIGNAL] = { 0 };
+/*static guint gst_udpsink_signals[LAST_SIGNAL] = { 0 }; */
GType
gst_udpsink_get_type (void)
@@ -247,15 +247,15 @@ gst_udpsink_get_property (GObject *object, guint prop_id, GValue *value, GParamS
}
-// create a socket for sending to remote machine
+/* create a socket for sending to remote machine */
static gboolean
gst_udpsink_init_send (GstUDPSink *sink)
{
struct hostent *he;
bzero (&sink->theiraddr, sizeof (sink->theiraddr));
- sink->theiraddr.sin_family = AF_INET; // host byte order
- sink->theiraddr.sin_port = htons (sink->port); // short, network byte order
+ sink->theiraddr.sin_family = AF_INET; /* host byte order */
+ sink->theiraddr.sin_port = htons (sink->port); /* short, network byte order */
if ((he = gethostbyname (sink->host)) == NULL) {
perror("gethostbyname");
return FALSE;