Author: duncan
Date: Mon Nov 12 11:50:20 2007
New Revision: 10106

Log:
Added debug messages


Modified:
   branches/rel-1-7/freevo/src/audio/plugins/mplayervis.py

Modified: branches/rel-1-7/freevo/src/audio/plugins/mplayervis.py
==============================================================================
--- branches/rel-1-7/freevo/src/audio/plugins/mplayervis.py     (original)
+++ branches/rel-1-7/freevo/src/audio/plugins/mplayervis.py     Mon Nov 12 
11:50:20 2007
@@ -67,7 +67,9 @@
 
         BaseAnimation.__init__(self, (x, y, width, height), fps=100,
                                bg_update=False, bg_redraw=False)
+        _debug_('pygoom.set_exportfile(mmap_file=%r)' % (mmap_file))
         pygoom.set_exportfile(mmap_file)
+        _debug_('pygoom.set_resolution(width=%r, height=%r, 0)' % (width, 
height))
         pygoom.set_resolution(width, height, 0)
 
 
@@ -113,6 +115,7 @@
         self.message = None
 
         self.rect = r
+        _debug_('pygoom.set_resolution(width=%r, height=%r, cinemascope=%r)' % 
(width, height, cinemascope))
         pygoom.set_resolution(width, height, cinemascope)
 
         # change the cover if neceserry
@@ -164,6 +167,7 @@
         if self.next_update < current_time:
 
             self.next_update = current_time + self.interval
+            _debug_('pygoom.get_surface()')
             gooms = pygoom.get_surface()
 
             # draw blending
@@ -188,6 +192,7 @@
                 if self.blend > 0:
                     s, x, y = self.coversurf
                     s.set_alpha(self.blend)
+                    _debug_('gooms.blit(s, (x, y))')
                     gooms.blit(s, (x, y))
 
             # draw message
@@ -198,7 +203,8 @@
                     self.message = False
                     s.fill(0)
 
-                gooms.blit(s, (x,y))
+                _debug_('gooms.blit(s, (x, y))')
+                gooms.blit(s, (x, y))
 
             osd.putsurface(gooms, self.rect.left, self.rect.top)
             osd.update(self.rect)
@@ -394,6 +400,7 @@
         if self.visual:
             self.visual.remove()
             self.visual = None
+            _debug_('pygoom.quit()')
             pygoom.quit()
 
 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to