[pitivi/ges] viewer: Add some debug logging
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi/ges] viewer: Add some debug logging
- Date: Wed, 25 Apr 2012 22:07:53 +0000 (UTC)
commit cc1ca9bc4569318f89f989874317032fc543e15c
Author: Thibault Saunier <thibault saunier collabora com>
Date: Thu Mar 29 18:26:36 2012 -0400
viewer: Add some debug logging
pitivi/viewer.py | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/viewer.py b/pitivi/viewer.py
index 54232b5..e670352 100644
--- a/pitivi/viewer.py
+++ b/pitivi/viewer.py
@@ -502,6 +502,9 @@ class PitiviViewer(gtk.VBox, Loggable):
"""
cur_time = time()
if not self._tmp_pipeline:
+ self.debug("Creating temporary pipeline for clip %s, position %s",
+ clip_uri, gst.TIME_ARGS(position))
+
self._oldTimelinePos = self.pipeline.query_position(gst.FORMAT_TIME)[0]
self._tmp_pipeline = gst.element_factory_make("playbin2")
self._tmp_pipeline.set_property("uri", clip_uri)
@@ -518,6 +521,7 @@ class PitiviViewer(gtk.VBox, Loggable):
"""
self._tmp_pipeline = None # Free the memory
self.setPipeline(self.app.current.pipeline, self._oldTimelinePos)
+ self.debug("Back to old pipeline")
def pipelineStateChanged(self, state):
"""
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]