[Player-cvs] mid/src app.py,1.15.4.2,1.15.4.3

[Player-cvs] mid/src app.py,1.15.4.2,1.15.4.3

zhuao at helixcommunity.org zhuao at helixcommunity.org
Thu Oct 16 03:08:56 PDT 2008


Update of /cvsroot/player/mid/src
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv20665/src

Modified Files:
      Tag: hxclient_3_4_1_atlas
	app.py 
Log Message:
Synopsis:
    fix bug #8472: RealPlayer can not enter S3 mode when video paused

Overview:
    fix bug #8472: RealPlayer can not enter S3 mode when video paused.
    the former code constraints the inhibit/uninhibit in a conditional sentence
    by "if self.cur_mode == 'audio':"; however it should be valid for 'video'
    mode too.
    I verified it on Jax10.
    This fix also has something to do with #8275, #8396



Files Added:
       No file added
Files Modified:
    player/mid/src/app.py

            
Image Size and Heap Use impact (Client -Only):
    little
Platforms and Profiles Affected:
    platform:   linux-2.2-libc6-gcc32-i586
    profile:    helix-client-all-defines
    profile:    helix-client-all-defines

Distribution Libraries Affected:
    <realplayer-import>
Distribution library impact and planned action:
    <None>
Platforms and Profiles Build Verified:
    Set BIF branch  -> hxclient_3_4_1_atlas_restricted
    Set Target(s)   -> player_mid_all_installers
    Set Profile     -> helix-client-moblin
    System ID       -> linux-2.2-libc6-gcc32-i586
Branch:
    HEAD
Copyright assignment: <MUST be one of the following statements >
   2.      Intel has signed and delivered a Joint Copyright Assignment
           to RealNetworks, and received acknowledgment that the
           agreement was received.
Files Attached:
    rpmid-app.py.diff.txt



Index: app.py
===================================================================
RCS file: /cvsroot/player/mid/src/app.py,v
retrieving revision 1.15.4.2
retrieving revision 1.15.4.3
diff -u -d -r1.15.4.2 -r1.15.4.3
--- app.py	16 Jun 2008 20:34:58 -0000	1.15.4.2
+++ app.py	16 Oct 2008 10:08:53 -0000	1.15.4.3
@@ -645,7 +645,7 @@
                     self.screensaver_manager.turn_off_power_management()
                 except:
                     pass
-        if self.cur_mode == 'audio':
+        if self.cur_mode == 'audio' or self.cur_mode == 'video':
             if self.power_manager:
                 try:
                     self.power_manager.turn_off_power_management()
@@ -659,7 +659,7 @@
                     self.screensaver_manager.turn_on_power_management()                        
                 except:
                     pass
-        if self.cur_mode == 'audio':
+        if self.cur_mode == 'audio' or self.cur_mode == 'video':
             if self.power_manager:
                 try:
                     self.power_manager.turn_on_power_management()




More information about the Player-cvs mailing list
 

Site Map   |   Terms of Use   |   Privacy Policy   |   Contact Us

Copyright © 1995-2007 RealNetworks, Inc. All rights reserved. RealNetworks and Helix are trademarks of RealNetworks.
All other trademarks or registered trademarks are the property of their respective holders.