Author: duncan
Date: Thu Jan 18 20:17:30 2007
New Revision: 8998

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

Log:
Corrected the selected_language check when not set


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  Thu Jan 18 20:17:30 2007
@@ -196,7 +196,7 @@
                additional_args += [ '-aid', str(item.selected_audio) ]
 
         # This comes from the bilingual language selection menu
-        if item.selected_language:
+        if hasattr(item, 'selected_language') and item.selected_language:
             if item.selected_language == 'left':
                 additional_args += [ '-af', 'pan=2:1:1:0:0' ]
             elif item.selected_language == 'right':

-------------------------------------------------------------------------
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