[pitivi: 5/12] discoverer: add a comment about the EOS elements.
- From: Edward Hervey <edwardrv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi: 5/12] discoverer: add a comment about the EOS elements.
- Date: Sun, 7 Mar 2010 17:22:32 +0000 (UTC)
commit 1cde41c21c2272b6e27753176fc2b735ebaca4f8
Author: Alessandro Decina <alessandro d gmail com>
Date: Sat Mar 6 00:56:21 2010 +0100
discoverer: add a comment about the EOS elements.
pitivi/discoverer.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/discoverer.py b/pitivi/discoverer.py
index e407f4e..ba8266a 100644
--- a/pitivi/discoverer.py
+++ b/pitivi/discoverer.py
@@ -593,6 +593,8 @@ class Discoverer(Signallable, Loggable):
if have_thumbnail:
self.debug("we already have a thumbnail %s for %s", thumbnail, pad)
sink = gst.element_factory_make("fakesink")
+ # use this and not fakesink.props.num_buffers = 1 to avoid some
+ # not-expected errors when discovering pictures
eossir = EOSSir()
self.dynamic_elements.extend([eossir, sink])
self.pipeline.add(eossir, sink)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]