Unable to get OSD (and probably subtitles) in MPlayer

barbara barbara.xxx1975 at libero.it
Sun Aug 31 18:54:04 UTC 2008


> On Sun 08/08/31 09:52 , "Lars Stokholm" lars.stokholm at gmail.com sent:
> > On Sun, Aug 31, 2008 at 11:39 AM, Lars Stokholm lars.
> > stokholm at gmail.com> wrote:> On un, Aug 31, 2008 at 2:14 AM, Fred
> > Woods> fred at comment.icecreamhasnobones.org> wrote:>> Check to see if you have libiconv in
> > /usr/lib>> and in /usr/local/lib.
> > >
> > > It's in /usr/local/lib.
> > >
> > >> Also check to see if you have the
> > includes>> in /usr/include and /usr/local/include.
> > >
> > > iconv.h is in /usr/local/include.
> > >
> > >> Assuming you built from ports, you can
> > run>> make/gmake in the port's work/program
> > dir>> and look at the config.log for more
> > details.>
> > > I'm sure you're getting closer, but I don't know
> > what to conclude from> the log (I'm not a programmer). Here's the relevant
> > part of> configure.log: http://pastebin.com/f2da9c467>
> > > Obviously it can't find iconv.h. I don't know why,
> > though. I'm> guessing that '-I...' is a reference to
> > /usr/local/include, so> everything should be fine...?
> > 
> > Since I haven't had this problem before, I had a look at recent
> > changes to the port and I saw that some changes have been made to a
> > patch on configure. I don't know if this is even relevant, but in case
> > it is: http://www.freebsd.org/cgi/cvsweb.cgi/ports/multimedia/mplayer/
> > files/patch-ad.diff?r1=1.32;r2=1.33;f=h_______________________________________________
> 
> Yes
> -  _inc_extra="$_inc_extra -I/usr/local/include"
> means the line is being replaced.
> As an option to passing CFLAGS to make, you can
> check the RTC option to add /usr/local/include
> to the include path.
> 


Hi pushed reply instead of replay to all, so I'm sending this again.
In the meanwhile the PR has been published:
http://www.freebsd.org/cgi/query-pr.cgi?pr=127010
--------------------------------------------------------------

Hi.
I was facing the same problem since about a week and today I've found the time to check the problem.
Just before checking the mailing list a reading your discussion, I've submitted a PR (I'm waiting for the mail to get the number) with a patch for files/patch-ad.
--------------------------
--- patch-ad.orig 2008-08-24 19:49:32.000000000 +0200
+++ files/patch-ad 2008-08-31 19:37:47.000000000 +0200
@@ -52,7 +52,7 @@
if freebsd ; then
_ld_extra="$_ld_extra -L/usr/local/lib"
- _inc_extra="$_inc_extra -I/usr/local/include"
-+ _inc_extra="$_inc_extra -I... -I.../libavutil"
++ _inc_extra="$_inc_extra -I... -I.../libavutil -I/usr/local/include"
fi

if darwin; then
--------------------------

I can confirm that this resolve the problem with freetype and I hope it doesn't break what the original patch was intended for.

Cheers.





More information about the freebsd-multimedia mailing list