[pitivi: 3/13] discoverer: add some debugging.



commit e67f73c25d34bd00b59efa0790e166f2498d0c2e
Author: Alessandro Decina <alessandro d gmail com>
Date:   Mon Mar 1 13:35:15 2010 +0100

    discoverer: add some debugging.

 pitivi/discoverer.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/discoverer.py b/pitivi/discoverer.py
index 3372ddf..a5e850a 100644
--- a/pitivi/discoverer.py
+++ b/pitivi/discoverer.py
@@ -543,6 +543,7 @@ class Discoverer(Signallable, Loggable):
             ghost = pad
 
         caps = pad.props.caps
+        self.debug("video pad caps notify %s", caps)
         if caps is None or not caps.is_fixed():
             return
 
@@ -587,6 +588,7 @@ class Discoverer(Signallable, Loggable):
             self.unfixed_pads += 1
 
     def _addStreamFromPad(self, pad):
+        self.debug("adding stream from pad %s caps %s", pad, pad.props.caps)
         stream  = get_stream_for_pad(pad)
         self.current_streams.append(stream)
 



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