Author: duncan
Date: Mon Jan 14 14:09:26 2008
New Revision: 10288

Log:
[ 1869969 ] freevo placement support
Patch reversed as freevo doesn't start up


Modified:
   branches/rel-1-7/freevo/ChangeLog
   branches/rel-1-7/freevo/src/config.py
   branches/rel-1-7/freevo/src/osd.py
   branches/rel-1-7/freevo/src/video/plugins/mplayer.py
   branches/rel-1/freevo/ChangeLog
   branches/rel-1/freevo/src/config.py
   branches/rel-1/freevo/src/osd.py
   branches/rel-1/freevo/src/video/plugins/mplayer.py

Modified: branches/rel-1-7/freevo/ChangeLog
==============================================================================
--- branches/rel-1-7/freevo/ChangeLog   (original)
+++ branches/rel-1-7/freevo/ChangeLog   Mon Jan 14 14:09:26 2008
@@ -26,7 +26,6 @@
  * Updated encoding server to save the output to ENCODINGSERVER_SAVE_DIR when 
set (F#1865522)
  * Updated itv plug-in for youtube video feeds (F#1868425)
  * Updated menu osd sounds for more sound events (F#1870321)
- * Updated osd to allow the window position to be specified (F#1869969)
  * Updated re-encode plug-in and encoding core with additional features 
(F#1868764)
  * Updated recordings manager plug-in to add thumbnail support (F#1857397)
  * Updated recordserver to default watched/keep status (F#1857395)

Modified: branches/rel-1-7/freevo/src/config.py
==============================================================================
--- branches/rel-1-7/freevo/src/config.py       (original)
+++ branches/rel-1-7/freevo/src/config.py       Mon Jan 14 14:09:26 2008
@@ -459,7 +459,6 @@
 CONF = setup_freevo.Struct()
 CONF.geometry = '800x600'
 CONF.width, CONF.height = 800, 600
-CONF.x, CONF.y = 0, 0
 CONF.display = 'x11'
 CONF.tv = 'ntsc'
 CONF.chanlist = 'us-cable'
@@ -521,9 +520,7 @@
 
         c.close()
         w, h = CONF.geometry.split('x')
-        x, y = CONF.position.split(',')
         CONF.width, CONF.height = int(w), int(h)
-        CONF.x, CONF.w = int(x), int(y)
         break
 else:
     print

Modified: branches/rel-1-7/freevo/src/osd.py
==============================================================================
--- branches/rel-1-7/freevo/src/osd.py  (original)
+++ branches/rel-1-7/freevo/src/osd.py  Mon Jan 14 14:09:26 2008
@@ -372,9 +372,6 @@
         if config.CONF.display == 'dxr3':
             self.depth = 32
 
-        if config.CONF.x or config.CONF.y:
-            os.putenv('SDL_VIDEO_WINDOW_POS', '%d,%d' % (config.CONF.x, 
config.CONF.y))
-
         try:
             self.screen = pygame.display.set_mode((self.width, self.height),
                                                   self.hw, self.depth)

Modified: branches/rel-1-7/freevo/src/video/plugins/mplayer.py
==============================================================================
--- branches/rel-1-7/freevo/src/video/plugins/mplayer.py        (original)
+++ branches/rel-1-7/freevo/src/video/plugins/mplayer.py        Mon Jan 14 
14:09:26 2008
@@ -165,9 +165,6 @@
         command += config.MPLAYER_ARGS_DEF.split(' ')
         command += ['-ao'] + config.MPLAYER_AO_DEV.split(' ')
 
-        if config.CONF.x or config.CONF.y:
-            command += ['-geometry', '%d:%d' % (config.CONF.x, config.CONF.y)]
-
         additional_args = []
 
         if mode == 'dvd':

Modified: branches/rel-1/freevo/ChangeLog
==============================================================================
--- branches/rel-1/freevo/ChangeLog     (original)
+++ branches/rel-1/freevo/ChangeLog     Mon Jan 14 14:09:26 2008
@@ -29,7 +29,6 @@
  * Updated encoding server to save the output to ENCODINGSERVER_SAVE_DIR when 
set (F#1865522)
  * Updated itv plug-in for youtube video feeds (F#1868425)
  * Updated menu osd sounds for more sound events (F#1870321)
- * Updated osd to allow the window position to be specified (F#1869969)
  * Updated re-encode plug-in and encoding core with additional features 
(F#1868764)
  * Updated recordings manager plug-in to add thumbnail support (F#1857397)
  * Updated recordserver to default watched/keep status (F#1857395)

Modified: branches/rel-1/freevo/src/config.py
==============================================================================
--- branches/rel-1/freevo/src/config.py (original)
+++ branches/rel-1/freevo/src/config.py Mon Jan 14 14:09:26 2008
@@ -507,7 +507,6 @@
 CONF = setup_freevo.Struct()
 CONF.geometry = '800x600'
 CONF.width, CONF.height = 800, 600
-CONF.x, CONF.y = 0, 0
 CONF.display = 'x11'
 CONF.tv = 'ntsc'
 CONF.chanlist = 'us-cable'
@@ -569,9 +568,7 @@
 
         c.close()
         w, h = CONF.geometry.split('x')
-        x, y = CONF.position.split(',')
         CONF.width, CONF.height = int(w), int(h)
-        CONF.x, CONF.w = int(x), int(y)
         break
 else:
     print

Modified: branches/rel-1/freevo/src/osd.py
==============================================================================
--- branches/rel-1/freevo/src/osd.py    (original)
+++ branches/rel-1/freevo/src/osd.py    Mon Jan 14 14:09:26 2008
@@ -372,9 +372,6 @@
         if config.CONF.display == 'dxr3':
             self.depth = 32
 
-        if config.CONF.x or config.CONF.y:
-            os.putenv('SDL_VIDEO_WINDOW_POS', '%d,%d' % (config.CONF.x, 
config.CONF.y))
-
         try:
             self.screen = pygame.display.set_mode((self.width, self.height),
                                                   self.hw, self.depth)

Modified: branches/rel-1/freevo/src/video/plugins/mplayer.py
==============================================================================
--- branches/rel-1/freevo/src/video/plugins/mplayer.py  (original)
+++ branches/rel-1/freevo/src/video/plugins/mplayer.py  Mon Jan 14 14:09:26 2008
@@ -165,9 +165,6 @@
         command += config.MPLAYER_ARGS_DEF.split(' ')
         command += ['-ao'] + config.MPLAYER_AO_DEV.split(' ')
 
-        if config.CONF.x or config.CONF.y:
-            command += ['-geometry', '%d:%d' % (config.CONF.x, config.CONF.y)]
-
         additional_args = []
 
         if mode == 'dvd':

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to