Update of /cvsroot/freevo/freevo/src/video
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30764/src/video

Modified Files:
        configure.py 
Log Message:
audio stream selection fixes

Index: configure.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/video/configure.py,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -d -r1.23 -r1.24
*** configure.py        31 Jan 2004 16:39:03 -0000      1.23
--- configure.py        13 Mar 2004 23:44:02 -0000      1.24
***************
*** 10,13 ****
--- 10,16 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.24  2004/03/13 23:44:02  dischi
+ # audio stream selection fixes
+ #
  # Revision 1.23  2004/01/31 16:39:03  dischi
  # fix function to check if we have to show configure
***************
*** 96,103 ****
      items = []
      for a in arg.info['audio']:
!         if not a['id']:
              a['id'] = arg.info['audio'].index(a) + 1
!         if not a['language']:
!             a['language'] = 'Unknown'
          txt = '%s (channels=%s, codec=%s, id=%s)' % (a['language'], a['channels'],
                                                       a['codec'], a['id'])
--- 99,114 ----
      items = []
      for a in arg.info['audio']:
!         if not a.has_key('id') or a['id'] in ('', None):
              a['id'] = arg.info['audio'].index(a) + 1
!         
!         if not a.has_key('language') or not not a['language']:
!             a['language'] = _('Stream %s') % a['id']
! 
!         if not a.has_key('channels') or not not a['channels']:
!             a['channels'] = 2 # wild guess :-)
! 
!         if not a.has_key('codec') or not not a['codec']:
!             a['codec'] = _('Unknown')
! 
          txt = '%s (channels=%s, codec=%s, id=%s)' % (a['language'], a['channels'],
                                                       a['codec'], a['id'])



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to