]> git.parisson.com Git - timeside.git/commitdiff
cleanup some prints fix_streaming_bug
authorGuillaume Pellerin <yomguy@parisson.com>
Thu, 13 Feb 2014 23:54:41 +0000 (00:54 +0100)
committerGuillaume Pellerin <yomguy@parisson.com>
Thu, 13 Feb 2014 23:55:53 +0000 (00:55 +0100)
timeside/encoder/core.py

index d5e73d247ad61a4cfceb2fc65112f11497d91e8c..7ba78233f6bb6522c065b0dd553c0eb3c60d758c 100644 (file)
@@ -155,12 +155,9 @@ class GstEncoder(Processor):
         #print 'pull-buffer'
         chunk = appsink.emit('pull-buffer')
         self._streaming_queue.put(chunk)
-        chunk_len = len(chunk)
-        self._chunk_len += chunk_len
-        print 'new buffer length:', self._chunk_len
 
     def _on_new_preroll_streaming(self, appsink):
-        print 'preroll'
+        print 'preroll'
         chunk = appsink.emit('pull-preroll')
         self._streaming_queue.put(chunk)