[pitivi] mediafilespreviewer: Consistent imports
- From: Mathieu Duponchelle <mathieudu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] mediafilespreviewer: Consistent imports
- Date: Mon, 10 Feb 2014 21:58:21 +0000 (UTC)
commit 18fd3fbba1f283afed336e8835b31df7bd9de419
Author: Alexandru Băluț <alexandru balut gmail com>
Date: Mon Jan 20 22:32:18 2014 +0100
mediafilespreviewer: Consistent imports
pitivi/mediafilespreviewer.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/pitivi/mediafilespreviewer.py b/pitivi/mediafilespreviewer.py
index 30a1727..71f9c90 100644
--- a/pitivi/mediafilespreviewer.py
+++ b/pitivi/mediafilespreviewer.py
@@ -29,7 +29,7 @@ from gi.repository import Gtk
from gi.repository import Gdk
from gi.repository import GdkPixbuf
from gi.repository import Pango
-from gi.repository.GstPbutils import Discoverer
+from gi.repository import GstPbutils
from pitivi.settings import GlobalSettings
from pitivi.utils.loggable import Loggable
@@ -81,7 +81,7 @@ class PreviewWidget(Gtk.Grid, Loggable):
self.preview_cache = {}
self.preview_cache_errors = {}
- self.discoverer = Discoverer.new(Gst.SECOND)
+ self.discoverer = GstPbutils.Discoverer.new(Gst.SECOND)
#playbin for play pics
self.player = AssetPipeline(clip=None, name="preview-player")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]