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

Modified Files:
        mplayer.py 
Log Message:
subtitle file and audio file support

Index: mplayer.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/video/plugins/mplayer.py,v
retrieving revision 1.46
retrieving revision 1.47
diff -C2 -d -r1.46 -r1.47
*** mplayer.py  7 Dec 2003 19:40:30 -0000       1.46
--- mplayer.py  9 Dec 2003 19:43:22 -0000       1.47
***************
*** 10,13 ****
--- 10,16 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.47  2003/12/09 19:43:22  dischi
+ # subtitle file and audio file support
+ #
  # Revision 1.46  2003/12/07 19:40:30  dischi
  # convert OVERSCAN variable names
***************
*** 285,288 ****
--- 288,301 ----
              
              child.wait()
+ 
+         if item.subtitle_file:
+             d, f = util.resolve_media_mountdir(item.subtitle_file)
+             util.mount(d)
+             command += ['-sub', f]
+ 
+         if self.audio_file:
+             d, f = util.resolve_media_mountdir(self.audio_file)
+             util.mount(d)
+             command += ['-audiofile', f]
  
          self.plugins = plugin.get('mplayer_video')




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to