]> git.parisson.com Git - timeside.git/commitdiff
GstEncoder : fix appsrc blocking against the new pipe streamer threading arch
authorGuillaume Pellerin <yomguy@parisson.com>
Thu, 13 Feb 2014 22:39:59 +0000 (23:39 +0100)
committerGuillaume Pellerin <yomguy@parisson.com>
Thu, 13 Feb 2014 22:39:59 +0000 (23:39 +0100)
tests/sandbox/test_lolevel_streaming_threaded.py
timeside/encoder/core.py

index 2fa1451fd7a9a302c7e6edd35c2bb120ed2719c1..c0bcffa81281cfc1d9f552005b3ad4555857c34e 100644 (file)
@@ -52,3 +52,7 @@ assert os.path.getsize(dest1) == os.path.getsize(dest2)
 # Appsink file is always 1 buffer longer than filesink
 # TODO : Try to transcode with a pure gstreamer pipe to see the file length
 # maybe appsink is fine but filesink not ? just to be checked
+
+# INFO : sweep.mp3 transcoded with pure gst from sweep.flac with the same parameters 
+# as in the timeside mp3 encoder gives 70535 bytes
+
index dac9286fedcd2cc4689979a5a416d1891cb1d469..d5e73d247ad61a4cfceb2fc65112f11497d91e8c 100644 (file)
@@ -105,7 +105,7 @@ class GstEncoder(Processor):
         self.src.set_property("caps", srccaps)
         self.src.set_property('emit-signals', True)
         self.src.set_property('num-buffers', -1)
-        self.src.set_property('block', True)
+        self.src.set_property('block', False)
         self.src.set_property('do-timestamp', True)
 
         self.bus = self.pipeline.get_bus()