Author: dmeyer
Date: Sat Feb 18 22:11:47 2006
New Revision: 7920

Modified:
   trunk/ui/src/video/configure.py

Log:
make audio selection work again

Modified: trunk/ui/src/video/configure.py
==============================================================================
--- trunk/ui/src/video/configure.py     (original)
+++ trunk/ui/src/video/configure.py     Sat Feb 18 22:11:47 2006
@@ -87,9 +87,10 @@
             a['language'] = _('Stream %s') % a['id']
         if not a.has_key('channels') or not a['channels']:
             a['channels'] = 2 # wild guess :-)
+        if not a.has_key('codec') or not a['codec']:
+            name = '%s (channels=%s)' % (a['language'], a['channels'])
         else:
-            continue
-        name = '%s (channels=%s)' % (a['language'], a['channels'])
+            name = '%s (channels=%s %s)' % (a['language'], a['channels'], 
a['codec'])
         action = ActionItem(name, item, set_variable)
         action.parameter('selected_audio', a['id'])
         menu_items.append(action)


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to