tcp: adjust comment style
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Mon, 10 Sep 2012 10:45:17 +0000 (12:45 +0200)
committerMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Mon, 10 Sep 2012 12:03:49 +0000 (14:03 +0200)
gst/tcp/gstmultifdsink.c
gst/tcp/gstmultioutputsink.c
gst/tcp/gstmultisocketsink.c

index aa8d17c..e726d5e 100644 (file)
@@ -697,9 +697,9 @@ gst_multi_fd_sink_handle_client_write (GstMultiFdSink * sink,
       if (mhclient->bufpos == -1) {
         /* client is too fast, remove from write queue until new buffer is
          * available */
-        // FIXME: specific
+        /* FIXME: specific */
         gst_poll_fd_ctl_write (sink->fdset, &client->gfd, FALSE);
-        //
+
         /* if we flushed out all of the client buffers, we can stop */
         if (mhclient->flushcount == 0)
           goto flushed;
@@ -722,7 +722,7 @@ gst_multi_fd_sink_handle_client_write (GstMultiFdSink * sink,
             mhclient->bufpos = position;
           } else {
             /* cannot send data to this client yet */
-            // FIXME: specific
+            /* FIXME: specific */
             gst_poll_fd_ctl_write (sink->fdset, &client->gfd, FALSE);
             return TRUE;
           }
@@ -774,7 +774,7 @@ gst_multi_fd_sink_handle_client_write (GstMultiFdSink * sink,
       data = info.data;
       maxsize = info.size - mhclient->bufoffset;
 
-      // FIXME: specific
+      /* FIXME: specific */
       /* try to write the complete buffer */
 #ifdef MSG_NOSIGNAL
 #define FLAGS MSG_NOSIGNAL
index f1e2f00..12a8efa 100644 (file)
@@ -1083,7 +1083,7 @@ gst_multi_output_sink_remove_client_link (GstMultiOutputSink * sink,
       break;
   }
 
-  // FIXME: convert to vfunc to cleanup a client
+  /* FIXME: convert to vfunc to cleanup a client */
 
   fclass->delete_client (sink, client);
 
index afac99f..673eb41 100644 (file)
@@ -656,13 +656,13 @@ gst_multi_socket_sink_handle_client_write (GstMultiSocketSink * sink,
       if (mhclient->bufpos == -1) {
         /* client is too fast, remove from write queue until new buffer is
          * available */
-        // FIXME: specific
+        /* FIXME: specific */
         if (client->source) {
           g_source_destroy (client->source);
           g_source_unref (client->source);
           client->source = NULL;
         }
-        //
+
         /* if we flushed out all of the client buffers, we can stop */
         if (mhclient->flushcount == 0)
           goto flushed;
@@ -685,13 +685,13 @@ gst_multi_socket_sink_handle_client_write (GstMultiSocketSink * sink,
             mhclient->bufpos = position;
           } else {
             /* cannot send data to this client yet */
-            // FIXME: specific
+            /* FIXME: specific */
             if (client->source) {
               g_source_destroy (client->source);
               g_source_unref (client->source);
               client->source = NULL;
             }
-            //
+
             return TRUE;
           }
         }
@@ -738,7 +738,7 @@ gst_multi_socket_sink_handle_client_write (GstMultiSocketSink * sink,
       gst_buffer_map (head, &map, GST_MAP_READ);
       maxsize = map.size - mhclient->bufoffset;
 
-      // FIXME: specific
+      /* FIXME: specific */
       /* try to write the complete buffer */
 
       wrote =