[MPlayer-dev-eng] [PATCH] Use external libs to handle rar subtitles

Zuxy zuxy.meng at gmail.com
Wed Oct 26 09:17:42 CEST 2005


2005/10/26, Vladimir Mosgalin <mosgalin at vm10124.spb.edu>:
> Hi Rich Felker!
>
> Why not provide source of libunrar with mplayer, build and install it
> with mplayer, and dlopen it? The only problem is you won't be able to
> write that "all source code in this tarball is under GPL"..
>
> Because, I haven't found any traces of libunrar on several computers
> around me running different linux distributions too. It's a VERY
> unpopular thing.

Indeed! The source of libunrar.so lacks thorough testing under *nix. I
needed to modify a few lines of its Makefile to make it work. Besides,
g++ would miscompile it if you turned on 'fomit-frame-pointers'.

Better we provide binary releases in our ftp server, along with binary codecs.

> Another choice: implement caching of complete subtitle files in mplayer,
> run "unrar p archive subtile.sub/idx" transparently and use it.

Good suggestion IMHO.
--
Zuxy
Beauty is truth,
While truth is beauty.
PGP KeyID: E8555ED6




More information about the MPlayer-dev-eng mailing list