[pitivi] Set pngenc in snapshot mode inside discoverer.
- From: Edward Hervey <edwardrv src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [pitivi] Set pngenc in snapshot mode inside discoverer.
- Date: Fri, 31 Jul 2009 08:32:47 +0000 (UTC)
commit 4369c0ee2c47e660031e8727313d8d03de0d5081
Author: Alessandro Decina <alessandro d gmail com>
Date: Wed Jul 29 14:57:42 2009 +0200
Set pngenc in snapshot mode inside discoverer.
pitivi/discoverer.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/discoverer.py b/pitivi/discoverer.py
index 5aba1fd..f3c406b 100644
--- a/pitivi/discoverer.py
+++ b/pitivi/discoverer.py
@@ -489,6 +489,7 @@ class Discoverer(Signallable, Loggable):
vscale.props.method = 0
csp = gst.element_factory_make("ffmpegcolorspace")
pngenc = gst.element_factory_make("pngenc")
+ pngenc.props.snapshot = True
pngsink = gst.element_factory_make("filesink")
self.thumbnails[pad] = thumbnail = self._getThumbnailFilenameFromPad(pad)
pngsink.props.location = thumbnail
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]