Author: duncan
Date: Fri Sep 22 16:44:51 2006
New Revision: 8229

Modified:
   branches/rel-1-5/freevo/src/video/plugins/mplayer.py

Log:
[ 1184803 ] blank MPLAYER_VF_INTERLACED option makes mplayer not work
Submitted by Yann Rouillard, patch applied


Modified: branches/rel-1-5/freevo/src/video/plugins/mplayer.py
==============================================================================
--- branches/rel-1-5/freevo/src/video/plugins/mplayer.py        (original)
+++ branches/rel-1-5/freevo/src/video/plugins/mplayer.py        Fri Sep 22 
16:44:51 2006
@@ -257,11 +257,13 @@
         if item.selected_audio != None:
             additional_args += [ '-aid', str(item.selected_audio) ]
 
-        if self.version >= 1 and item['deinterlace']:
-            additional_args += [ '-vf',  config.MPLAYER_VF_INTERLACED ]
-        elif item['deinterlace']:
-            additional_args += [ '-vop', config.MPLAYER_VF_INTERLACED ]
-        elif self.version >= 1:
+        if item['deinterlace']:
+            if config.MPLAYER_VF_INTERLACED:
+                if self.version >= 1:
+                    additional_args += [ '-vf',  config.MPLAYER_VF_INTERLACED ]
+                else:
+                    additional_args += [ '-vop', config.MPLAYER_VF_INTERLACED ]
+        elif self.version >= 1 and config.MPLAYER_VF_PROGRESSIVE:
             additional_args += [ '-vf',  config.MPLAYER_VF_PROGRESSIVE ]
                 
         mode = item.mimetype

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to