[MPlayer-dev-eng] [PATCH] [MPlayer OSX] Support load subtiitles

Ulion ulion2002 at gmail.com
Thu Oct 4 09:35:35 CEST 2007


Hello,

> Next suggestion: Add a way to load subtitle files.
>
> Diego

I made a patch for this, which support load subtitle when playing
movie. Just like the same menu command in gmplayer 'Open Subtitle'.

Here I posted several patch, the first is for support openSubtitle command.
The Second is for add a menu item to mplayer osx for open subtitle,
which is a binary file, in svn it is
Resources/English.lproj/MainMenu.nib/keyedobjects.nib, is generated by
XCode's Interface Builder (an app gui design tool). To add a new menu
item, this file has to be replaced, menu resources is in this file.
The third one is a little fix to support load subtitles with extension
name .ass, old code only support load .ssa files.

-- 
Ulion
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayerosx_opensubtitles.diff
Type: application/octet-stream
Size: 4429 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20071004/89f70335/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: keyedobjects.nib
Type: application/octet-stream
Size: 101117 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20071004/89f70335/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Info.plist
Type: application/octet-stream
Size: 4052 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20071004/89f70335/attachment-0002.obj>


More information about the MPlayer-dev-eng mailing list