Update of /cvsroot/freevo/freevo/src
In directory sc8-pr-cvs1:/tmp/cvs-serv22076/src
Modified Files:
osd.py
Log Message:
make bmovl work again
Index: osd.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/osd.py,v
retrieving revision 1.120
retrieving revision 1.121
diff -C2 -d -r1.120 -r1.121
*** osd.py 10 Jan 2004 14:57:23 -0000 1.120
--- osd.py 11 Jan 2004 20:01:28 -0000 1.121
***************
*** 11,14 ****
--- 11,17 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.121 2004/01/11 20:01:28 dischi
+ # make bmovl work again
+ #
# Revision 1.120 2004/01/10 14:57:23 dischi
# better debug messages
***************
*** 1229,1233 ****
_debug_('Trying to load file "%s"' % filename, level=3)
! if thumbnail:
sinfo = os.stat(filename)
thumb = vfs.getoverlay(filename + '.raw')
--- 1232,1240 ----
_debug_('Trying to load file "%s"' % filename, level=3)
! if filename.endswith('.raw'):
! data = util.read_pickle(filename)
! image = pygame.image.fromstring(data[0], data[1], data[2])
!
! elif thumbnail:
sinfo = os.stat(filename)
thumb = vfs.getoverlay(filename + '.raw')
***************
*** 1235,1241 ****
try:
! if filename.endswith('.raw'):
! data = util.read_pickle(filename)
! elif os.stat(thumb)[stat.ST_MTIME] > sinfo[stat.ST_MTIME]:
data = util.read_pickle(thumb)
except OSError:
--- 1242,1246 ----
try:
! if os.stat(thumb)[stat.ST_MTIME] > sinfo[stat.ST_MTIME]:
data = util.read_pickle(thumb)
except OSError:
-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog