[pitivi] Remove an hopefully unneeded slice from ArraySink.



commit 4fd74fdf3ba6b3632ba9a76165551b4f889405d6
Author: Alessandro Decina <alessandro d gmail com>
Date:   Wed Jun 24 16:56:05 2009 +0200

    Remove an hopefully unneeded slice from ArraySink.

 pitivi/elements/arraysink.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pitivi/elements/arraysink.py b/pitivi/elements/arraysink.py
index 89121a8..0858064 100644
--- a/pitivi/elements/arraysink.py
+++ b/pitivi/elements/arraysink.py
@@ -66,7 +66,7 @@ class ArraySink(gst.BaseSink):
         return True
 
     def do_render(self, buf):
-        self.samples.fromstring(buf[:buf.size])
+        self.samples.fromstring(buf)
         self.duration += buf.duration
         return gst.FLOW_OK
 



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