Author: duncan
Date: Tue Jun  5 19:23:38 2007
New Revision: 9651

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

Log:
[ 1731232 ] Wrong -aid in some video media
Added 1 to the selected audio, hopefully this won't break mkv files


Modified: branches/rel-1/freevo/src/video/configure.py
==============================================================================
--- branches/rel-1/freevo/src/video/configure.py        (original)
+++ branches/rel-1/freevo/src/video/configure.py        Tue Jun  5 19:23:38 2007
@@ -61,7 +61,7 @@
         a = copy.copy(audio)
 
         if not a.has_key('id') or not a['id']:
-            a['id'] = item.info['audio'].index(audio)
+            a['id'] = int(item.info['audio'].index(audio))+1
 
         if not a.has_key('title') or not a['title']:
             a['title'] = ''

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to