[rygel] engine-gst: Drop useless counter



commit 95319fbbe73c20128e4f29174cf69514cb783689
Author: Jens Georg <jensg openismus com>
Date:   Fri Apr 26 20:02:32 2013 +0200

    engine-gst: Drop useless counter

 src/media-engines/gstreamer/rygel-gst-sink.vala |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/src/media-engines/gstreamer/rygel-gst-sink.vala b/src/media-engines/gstreamer/rygel-gst-sink.vala
index 67e582d..132181e 100644
--- a/src/media-engines/gstreamer/rygel-gst-sink.vala
+++ b/src/media-engines/gstreamer/rygel-gst-sink.vala
@@ -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);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]