Update of /cvsroot/freevo/freevo/src/video
In directory sc8-pr-cvs1:/tmp/cvs-serv9341

Modified Files:
        configure.py videoitem.py 
Log Message:
fix subtitle selection

Index: configure.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/video/configure.py,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** configure.py        4 Oct 2003 18:37:29 -0000       1.16
--- configure.py        9 Nov 2003 16:24:30 -0000       1.17
***************
*** 10,13 ****
--- 10,16 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.17  2003/11/09 16:24:30  dischi
+ # fix subtitle selection
+ #
  # Revision 1.16  2003/10/04 18:37:29  dischi
  # i18n changes and True/False usage
***************
*** 97,101 ****
      items = []
  
!     items += [ menu.MenuItem(_('no subtitles'), subtitle_selection, (arg, None)) ]
      for s in range(len(arg.info['subtitles'])):
          items.append(menu.MenuItem(arg.info['subtitles'][s], subtitle_selection, 
(arg, s)))
--- 100,104 ----
      items = []
  
!     items += [ menu.MenuItem(_('no subtitles'), subtitle_selection, (arg, -1)) ]
      for s in range(len(arg.info['subtitles'])):
          items.append(menu.MenuItem(arg.info['subtitles'][s], subtitle_selection, 
(arg, s)))

Index: videoitem.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/video/videoitem.py,v
retrieving revision 1.89
retrieving revision 1.90
diff -C2 -d -r1.89 -r1.90
*** videoitem.py        4 Oct 2003 18:37:29 -0000       1.89
--- videoitem.py        9 Nov 2003 16:24:30 -0000       1.90
***************
*** 11,14 ****
--- 11,17 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.90  2003/11/09 16:24:30  dischi
+ # fix subtitle selection
+ #
  # Revision 1.89  2003/10/04 18:37:29  dischi
  # i18n changes and True/False usage
***************
*** 475,480 ****
              mplayer_options += ' -dvd-device %s' % self.media.devicename
  
! 
!         if self.selected_subtitle and self.mode == 'file':
              mplayer_options += ' -vobsubid %s' % self.selected_subtitle
          elif self.selected_subtitle:
--- 478,484 ----
              mplayer_options += ' -dvd-device %s' % self.media.devicename
  
!         if self.selected_subtitle == -1:
!             mplayer_options += ' -noautosub'
!         elif self.selected_subtitle and self.mode == 'file':
              mplayer_options += ' -vobsubid %s' % self.selected_subtitle
          elif self.selected_subtitle:




-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to