Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Dec 2009 21:42:23 +0200
From:      =?utf-8?B?QW5kcml1cyBNb3JrxatuYXM=?= <hinokind@gmail.com>
To:        "Tom Evans" <tevans.uk@googlemail.com>, freebsd-multimedia@freebsd.org
Subject:   Re: mplayer SVN plays video too fast on FreeBSD
Message-ID:  <op.u4k2cv2b43o42p@klevas>
In-Reply-To: <2e027be00912071114t6a69b0a5vfdefea06e6ea9273@mail.gmail.com>
References:  <2e027be00912070613y5b3c4841tcd4d9ff58e1db330@mail.gmail.com> <2e027be00912071114t6a69b0a5vfdefea06e6ea9273@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 07 Dec 2009 21:14:14 +0200, Tom Evans <tevans.uk@googlemail.com> wrote:
> I sent this to the mplayer mailing list earlier today, without
> thinking that probably someone on multimedia@ has tried to compile
> mplayer from svn. Has anyone succesfully managed to do it? - and get a
> working player out of it!
I've seen quite a lot of reports of working SVN mplayer on FreeBSD and I've
yet to run into a version that doesn't build/work, but I don't update mplayer
too often.

My setup on amd64:
$ svn diff
Index: vidix/pci.c
===================================================================
--- vidix/pci.c	(revision 29978)
+++ vidix/pci.c	(working copy)
@@ -481,7 +481,7 @@
  #include "sysdep/pci_arm32.c"
  #elif defined(__powerpc__)
  #include "sysdep/pci_powerpc.c"
-#elif defined(__x86_64__) || defined(__sh__)
+#elif (defined(__x86_64__) || defined(__sh__)) && !defined(__FreeBSD__)
  /* Nothing here right now */
  #else
  #include "sysdep/pci_x86.c"

$ cat build
#!/bin/sh
./configure --extra-cflags=-DBROKEN_RELOCATIONS
gmake -j2

In case you just updated your drivers and compiled mplayer, you may want to
restart FreeBSD, because I've had some issues (not similar to yours) until I
restarted after installing xorg.

Also, did you try building without infinity of configure args?

-- 
Andrius



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.u4k2cv2b43o42p>