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

Modified Files:
        mplayer.py 
Log Message:
fix non vobsub subtitle handling

Index: mplayer.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/video/plugins/mplayer.py,v
retrieving revision 1.86
retrieving revision 1.87
diff -C2 -d -r1.86 -r1.87
*** mplayer.py  7 Sep 2004 18:56:13 -0000       1.86
--- mplayer.py  13 Sep 2004 19:40:02 -0000      1.87
***************
*** 10,13 ****
--- 10,16 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.87  2004/09/13 19:40:02  dischi
+ # fix non vobsub subtitle handling
+ #
  # Revision 1.86  2004/09/07 18:56:13  dischi
  # internal colors are now lists, not int
***************
*** 236,241 ****
  
          elif item.selected_subtitle and mode == 'file':
!             additional_args += [ '-vobsubid', str(item.selected_subtitle) ]
! 
          elif item.selected_subtitle:
              additional_args += [ '-sid', str(item.selected_subtitle) ]
--- 239,247 ----
  
          elif item.selected_subtitle and mode == 'file':
!             if os.path.isfile(os.path.splitext(item.filename)[0]+'.idx'):
!                 additional_args += [ '-vobsubid', str(item.selected_subtitle) ]
!             else:
!                 additional_args += [ '-sid', str(item.selected_subtitle) ]
!                 
          elif item.selected_subtitle:
              additional_args += [ '-sid', str(item.selected_subtitle) ]



-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to