Author: duncan
Date: Wed Jun 20 20:07:30 2007
New Revision: 9723
Modified:
branches/rel-1/freevo/src/plugins/idlebar/transcode.py
Log:
Changed debugging levels to a higher level for the calculations in draw.
Modified: branches/rel-1/freevo/src/plugins/idlebar/transcode.py
==============================================================================
--- branches/rel-1/freevo/src/plugins/idlebar/transcode.py (original)
+++ branches/rel-1/freevo/src/plugins/idlebar/transcode.py Wed Jun 20
20:07:30 2007
@@ -1,6 +1,6 @@
# -*- coding: iso-8859-1 -*-
# -----------------------------------------------------------------------
-# encoding.py - IdleBarplugin for showing encoding status
+# transcode.py - Idlebar plugin for showing encoding status
# -----------------------------------------------------------------------
# $Id$
#
@@ -257,14 +257,14 @@
progress_x = ((self.background_w - (2 * self.leftclamp_w)) *
self.progress) / 200
_debug_('progress_x=%s, background_w=%s, leftclamp_w=%s, progress=%s'
% \
- (progress_x, self.background_w, self.leftclamp_w, self.progress))
+ (progress_x, self.background_w, self.leftclamp_w, self.progress),
3)
if self.progress_x != progress_x:
self.progress_x = progress_x
self.leftclamp_x = self.progress_x
self.rightclamp_x = self.background_w - self.rightclamp_w -
self.progress_x
_debug_('progress_x=%s, leftclamp_x=%s, rightclamp_x=%s' % \
- (self.progress_x, self.leftclamp_x, self.rightclamp_x))
+ (self.progress_x, self.leftclamp_x, self.rightclamp_x), 2)
return True
return False
@@ -272,7 +272,7 @@
def draw(self, (type, object), x, osd):
'''Build the image by blitting sub images on the background and draw
the background
'''
- _debug_('draw((type=%r, object=), x=%r, osd=)' % (type, x), 1)
+ _debug_('draw((type=%r, object=), x=%r, osd=)' % (type, x), 3)
now = time.time()
duration = now - self.drawtime
_debug_("draw=%.2f, interval=%s, state=%s" % (duration,
self.draw_interval, self.state), 2)
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog