diff options
author | Andy Wingo <wingo@pobox.com> | 2002-03-19 04:10:05 +0000 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2002-03-19 04:10:05 +0000 |
commit | d6258153e0aa7d3fe89a31acd3e57b9c13de4464 (patch) | |
tree | 92fd06f31c13bf0eee35395bfcef45ba6166c0d8 /gst/udp | |
parent | 0f1d7549324aa62357580b1b35e61bec6b6482ab (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')
-rw-r--r-- | gst/udp/Makefile.am | 2 | ||||
-rw-r--r-- | gst/udp/gstudpsink.c | 8 | ||||
-rw-r--r-- | gst/udp/gstudpsrc.c | 8 |
3 files changed, 9 insertions, 9 deletions
diff --git a/gst/udp/Makefile.am b/gst/udp/Makefile.am index 3448ffaf..3c609930 100644 --- a/gst/udp/Makefile.am +++ b/gst/udp/Makefile.am @@ -4,7 +4,7 @@ plugin_LTLIBRARIES = libgstudp.la libgstudp_la_SOURCES = gstudp.c gstudpsrc.c gstudpsink.c libgstudp_la_CFLAGS = $(GST_CFLAGS) -libgstudp_la_LIBADD = $(GST_LIBS) +libgstudp_la_LIBADD = libgstudp_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) noinst_HEADERS = gstudpsink.h gstudpsrc.h 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; diff --git a/gst/udp/gstudpsrc.c b/gst/udp/gstudpsrc.c index 7bd5df83..e8219ba0 100644 --- a/gst/udp/gstudpsrc.c +++ b/gst/udp/gstudpsrc.c @@ -57,7 +57,7 @@ static void gst_udpsrc_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec); static GstElementClass *parent_class = NULL; -//static guint gst_udpsrc_signals[LAST_SIGNAL] = { 0 }; +/*static guint gst_udpsrc_signals[LAST_SIGNAL] = { 0 }; */ GType gst_udpsrc_get_type (void) @@ -230,13 +230,13 @@ gst_udpsrc_get_property (GObject *object, guint prop_id, GValue *value, GParamSp } } -// create a socket for sending to remote machine +/* create a socket for sending to remote machine */ static gboolean gst_udpsrc_init_receive (GstUDPSrc *src) { bzero (&src->myaddr, sizeof (src->myaddr)); - src->myaddr.sin_family = AF_INET; // host byte order - src->myaddr.sin_port = htons (src->port); // short, network byte order + src->myaddr.sin_family = AF_INET; /* host byte order */ + src->myaddr.sin_port = htons (src->port); /* short, network byte order */ src->myaddr.sin_addr.s_addr = INADDR_ANY; if ((src->sock = socket (AF_INET, SOCK_DGRAM, 0)) == -1) { |