[pitivi] discoverer: Make fakesink EOS instantly.
- From: Edward Hervey <edwardrv src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [pitivi] discoverer: Make fakesink EOS instantly.
- Date: Tue, 9 Feb 2010 15:33:49 +0000 (UTC)
commit d68a34e70febfb6dc6d761471c08c31b19d46418
Author: Edward Hervey <bilboed bilboed com>
Date: Tue Feb 9 16:31:16 2010 +0100
discoverer: Make fakesink EOS instantly.
We need this to make the discoverer EOS as soon as possible.
Fixes #575356
pitivi/discoverer.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/discoverer.py b/pitivi/discoverer.py
index f3c406b..3471bd0 100644
--- a/pitivi/discoverer.py
+++ b/pitivi/discoverer.py
@@ -508,6 +508,7 @@ class Discoverer(Signallable, Loggable):
def _newPadCb(self, pad):
queue = gst.element_factory_make('queue')
fakesink = gst.element_factory_make('fakesink')
+ fakesink.props.num_buffers = 1
self.dynamic_elements.append(queue)
self.dynamic_elements.append(fakesink)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]