engine-gst: Drop useless counter
authorJens Georg <jensg@openismus.com>
Fri, 26 Apr 2013 18:02:32 +0000 (20:02 +0200)
committerJens Georg <jensg@openismus.com>
Fri, 26 Apr 2013 18:02:46 +0000 (20:02 +0200)
src/media-engines/gstreamer/rygel-gst-sink.vala

index 67e582d..132181e 100644 (file)
@@ -37,7 +37,6 @@ internal class Rygel.GstSink : Sink {
 
     private int priority;
 
-    private int64 chunks_buffered;
     private int64 bytes_sent;
     private int64 max_bytes;
 
@@ -58,7 +57,6 @@ internal class Rygel.GstSink : Sink {
     }
 
     public GstSink (DataSource source, HTTPSeek? offsets) {
-        this.chunks_buffered = 0;
         this.bytes_sent = 0;
         this.max_bytes = int64.MAX;
         this.source = source;
@@ -135,7 +133,6 @@ internal class Rygel.GstSink : Sink {
         buffer.map (out info, MapFlags.READ);
 
         this.source.data_available (info.data[0:to_send]);
-        this.chunks_buffered++;
         this.bytes_sent += to_send;
         buffer.unmap (info);