mplayer SVN plays video too fast on FreeBSD

Andrius Morkūnas hinokind at gmail.com
Mon Dec 7 19:43:09 UTC 2009


On Mon, 07 Dec 2009 21:14:14 +0200, Tom Evans <tevans.uk at 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


More information about the freebsd-multimedia mailing list