[pitivi/ges] thumbnailer: Use an async bus handler
- From: Jean-FranÃois Fortin Tam <jfft src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi/ges] thumbnailer: Use an async bus handler
- Date: Fri, 18 May 2012 14:32:05 +0000 (UTC)
commit ce876416ab9808cb2999e5b6d99473640adce259
Author: Thibault Saunier <thibault saunier collabora com>
Date: Tue May 15 21:25:11 2012 -0400
thumbnailer: Use an async bus handler
pitivi/timeline/thumbnailer.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pitivi/timeline/thumbnailer.py b/pitivi/timeline/thumbnailer.py
index cc82762..8f8906e 100644
--- a/pitivi/timeline/thumbnailer.py
+++ b/pitivi/timeline/thumbnailer.py
@@ -472,7 +472,7 @@ class RandomAccessVideoPreviewer(RandomAccessPreviewer):
"""
self.videopipeline = sbin
self.videopipeline.props.flags = 1 # Only render video
- self.videopipeline.get_bus().set_sync_handler(self.bus_handler)
+ self.videopipeline.get_bus().connect("message", self.bus_handler)
# Use a capsfilter to scale the video to the desired size
# (fixed height and par, variable width)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]