[MPlayer-users] Most recent updates have caused a problem

Murray Blakeman mblakeman at netspace.net.au
Thu Jul 15 11:20:51 CEST 2010


On 15/07/10 05:59 AM, Reimar Döffinger wrote:
>
> Hrmpf. I supect a case of Solaris being backwards-compatible to the
> point of idiocy, i.e. implementing signal() in a way that makes a
> race-condition impossible to avoid.
> In that case MPlayer will have other problems, but they are probably
> too rare for you to notice.
> Try attached patch please.
>    
>
That patch looks like it's fixed the problem with the cache. :-)

I've now got to sort out the issue with the video jumping every few seconds.

I noticed that when it happens the "A-V:  0.018 ct: -0.016" numbers rise 
and then settles.

I assume it's a video/audio sync issue (I could be wrong).

I've also noticed the error below in the config.log that's preventing me 
from compiling mplayer with DVD support.

============ Checking for sys/cdio.h ============

#include <sys/cdio.h>
int main(void) { return 0; }

gcc /tmp/mplayer-configure-2418-5855/tmp.c -Wstrict-prototypes 
-Wmissing-prototypes -Wundef -Wdisabled-optimization -Wno
-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch 
-Wpointer-arith -Wredundant-decls -O4 -march=na
tive -mtune=native -pipe -ffast-math -fomit-frame-pointer -I.   
-I/usr/X11/include -I/opt/mbl/include     -ffast-math  -
L/opt/mbl/lib -R/opt/mbl/lib  -lkstat -lposix4 -lsocket -lnsl    -o 
/tmp/mplayer-configure-2418-5855/tmp
In file included from /tmp/mplayer-configure-2418-5855/tmp.c:1:0:
/usr/include/sys/cdio.h:120:2: error: expected specifier-qualifier-list 
before 'caddr_t'
/usr/include/sys/cdio.h:150:2: error: expected specifier-qualifier-list 
before 'caddr_t'
/usr/include/sys/cdio.h:190:2: error: expected specifier-qualifier-list 
before 'caddr_t'
/usr/include/sys/cdio.h:229:2: error: expected specifier-qualifier-list 
before 'caddr_t'


Earlier builds used different commands to check for cdio support, eg.


echocheck "sys/cdio.h"
cat > $TMPC << EOF
#include <unistd.h>
#include <sys/cdio.h>
int main(void) { return 0; }
EOF
_cdio=no
cc_check && _cdio=yes
if test "$_cdio" = yes ; then
   def_cdio='#define DVD_STRUCT_IN_SYS_CDIO_H 1'
else
   def_cdio='#undef DVD_STRUCT_IN_SYS_CDIO_H'
fi
echores "$_cdio"


The "#include <unistd.h>" must also include /usr/include/sys/types.h 
where I believe the declaration of caddr_t resides.

If I use this code in a recent "configure" the build breaks during 
compilation which isn't surprising I guess.







More information about the MPlayer-users mailing list