Update of /cvsroot/freevo/freevo/src
In directory sc8-pr-cvs1:/tmp/cvs-serv3394
Modified Files:
childapp.py
Log Message:
The purpose of checking for "stop_osd" is to figure out if it's a video
file; it's not to do with the config variable, because we need to post
VIDEO_START/VIDEO_END for the autocolor plugin regardless of whether or
not we're going to shut down the display.
Index: childapp.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/childapp.py,v
retrieving revision 1.46
retrieving revision 1.47
diff -C2 -d -r1.46 -r1.47
*** childapp.py 13 Dec 2003 10:47:11 -0000 1.46
--- childapp.py 13 Dec 2003 14:29:45 -0000 1.47
***************
*** 10,13 ****
--- 10,19 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.47 2003/12/13 14:29:45 outlyer
+ # The purpose of checking for "stop_osd" is to figure out if it's a video
+ # file; it's not to do with the config variable, because we need to post
+ # VIDEO_START/VIDEO_END for the autocolor plugin regardless of whether or
+ # not we're going to shut down the display.
+ #
# Revision 1.46 2003/12/13 10:47:11 dischi
# better stop for new ChildApp2 children
***************
*** 548,558 ****
running_children.append(self)
if stop_osd == 2:
stop_osd = config.OSD_STOP_WHEN_PLAYING
self.stop_osd = stop_osd
if self.stop_osd:
! rc.post_event(Event(VIDEO_START))
! osd.stop()
if hasattr(self, 'item'):
--- 554,566 ----
running_children.append(self)
+
+ print "STOP_OSD: " + str(stop_osd)
if stop_osd == 2:
+ rc.post_event(Event(VIDEO_START))
stop_osd = config.OSD_STOP_WHEN_PLAYING
self.stop_osd = stop_osd
if self.stop_osd:
! osd.stop()
if hasattr(self, 'item'):
***************
*** 590,594 ****
osd.restart()
! if self.stop_osd: # Implies a video file
rc.post_event(Event(VIDEO_END))
--- 598,602 ----
osd.restart()
! if stop_osd: # Implies a video file
rc.post_event(Event(VIDEO_END))
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog