gst/tcp/: Remove unused 'curoffset' structure member.
authorTim-Philipp Müller <tim@centricular.net>
Wed, 26 Oct 2005 11:43:49 +0000 (11:43 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Wed, 26 Oct 2005 11:43:49 +0000 (11:43 +0000)
Original commit message from CVS:
* gst/tcp/gsttcpclientsrc.c: (gst_tcpclientsrc_init):
* gst/tcp/gsttcpclientsrc.h:
* gst/tcp/gsttcpserversrc.c: (gst_tcpserversrc_init):
* gst/tcp/gsttcpserversrc.h:
Remove unused 'curoffset' structure member.

ChangeLog
gst/tcp/gsttcpclientsrc.c
gst/tcp/gsttcpclientsrc.h
gst/tcp/gsttcpserversrc.c
gst/tcp/gsttcpserversrc.h

index 6792c2c..16e4c91 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2005-10-26  Tim-Philipp Müller  <tim at centricular dot net>
+
+       * gst/tcp/gsttcpclientsrc.c: (gst_tcpclientsrc_init):
+       * gst/tcp/gsttcpclientsrc.h:
+       * gst/tcp/gsttcpserversrc.c: (gst_tcpserversrc_init):
+       * gst/tcp/gsttcpserversrc.h:
+         Remove unused 'curoffset' structure member.
+
 2005-10-25  Zeeshan Ali  <zeenix@gmail.com>
 
        * gst-libs/gst/rtp/gstbasertpdepayload.c:
index 27f0bc0..52abee7 100644 (file)
@@ -153,7 +153,6 @@ gst_tcpclientsrc_init (GstTCPClientSrc * this, GstTCPClientSrcClass * g_class)
   this->sock_fd = -1;
   this->protocol = GST_TCP_PROTOCOL_NONE;
   this->caps = NULL;
-  this->curoffset = 0;
 
   READ_SOCKET (this) = -1;
   WRITE_SOCKET (this) = -1;
index 8972cfb..cb20f88 100644 (file)
@@ -67,9 +67,6 @@ struct _GstTCPClientSrc {
   int sock_fd;
   int control_fds[2];
 
-  /* number of bytes we've gotten */
-  off_t curoffset;
-
   GstTCPProtocol protocol; /* protocol used for reading data */
   gboolean caps_received;      /* if we have received caps yet */
   GstCaps *caps;
index d8627f1..7558059 100644 (file)
@@ -148,7 +148,6 @@ gst_tcpserversrc_init (GstTCPServerSrc * src, GstTCPServerSrcClass * g_class)
   src->host = g_strdup (TCP_DEFAULT_HOST);
   src->server_sock_fd = -1;
   src->client_sock_fd = -1;
-  src->curoffset = 0;
   src->protocol = GST_TCP_PROTOCOL_NONE;
 
   READ_SOCKET (src) = -1;
index c96e11a..1fe6582 100644 (file)
@@ -74,9 +74,6 @@ struct _GstTCPServerSrc {
 
   int control_fds[2];
 
-  /* number of bytes we've gotten */
-  off_t curoffset;
-
   GstTCPProtocol protocol; /* protocol used for reading data */
   gboolean caps_received;      /* if we have received caps yet */
 };