[pitivi] utils/pipeline: Don't log state changes from outside the pipeline



commit a4f0d53fdd0b7ebc9d994c92b215b5db143f6d79
Author: Jean-FranÃois Fortin Tam <nekohayo gmail com>
Date:   Tue Aug 28 16:06:27 2012 -0700

    utils/pipeline: Don't log state changes from outside the pipeline
    
    With GStreamer 1.0, we get much more debug statements,
    but we only really care about pipeline state changes, not the
    changes of every single element.

 pitivi/utils/pipeline.py |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/pitivi/utils/pipeline.py b/pitivi/utils/pipeline.py
index 9f28860..96a7196 100644
--- a/pitivi/utils/pipeline.py
+++ b/pitivi/utils/pipeline.py
@@ -390,7 +390,6 @@ class SimplePipeline(Signallable, Loggable):
             self.emit('eos')
         elif message.type == gst.MESSAGE_STATE_CHANGED:
             prev, new, pending = message.parse_state_changed()
-            self.debug("element %s state change %s" % (message.src, (prev, new, pending)))
 
             if message.src == self._pipeline:
                 self.debug("Pipeline change state prev:%r, new:%r, pending:%r" % (prev, new, pending))



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]