[Openchrome-users] mplayer patches

drjay userforum
Sat Jul 22 07:15:42 PDT 2006


Re: mplayer patches
hi,

i've tried to use the patch for the svn-version of mplayer. following the ubuntu howto, i did:

svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer -r 19148 

./configure --prefix=/usr --enable-gui --disable-arts --disable-smb --enable-sdl --enable-x11 --enable-theora --confdir=/etc/mplayer --with-win32libdir=/usr/lib/win32 --enable-menu --enable-tv-v4l --enable-tv-v4l2 --disable-liblzo --enable-largefiles  --disable-libdv --disable-aa --enable-xvid --disable-divx4linux --enable-x264

and started a test run of make without the patch which worked perfectly well. then i applied the patch from the xvmc wiki (which also worked), but then make would break down (see below). any ideas? i desperately need an xvmc enabled mediaplayer for ubuntu, so please help me, maybe with an alternative?

---
cc -c -I../libvo -I../../libvo  -fno-PIC -O4 -march=c3-2 -mtune=c3-2 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I. -I.. -Inative -I../libmpdemux -I../loader  -I../libavutil -I../libavcodec   -D_GNU_SOURCE  -o vd_ffmpeg.o vd_ffmpeg.c
vd_ffmpeg.c: In function 'control':
vd_ffmpeg.c:158: error: 'PIX_FMT_XVMC_MPEG2_VLD' undeclared (first use in this function)
vd_ffmpeg.c:158: error: (Each undeclared identifier is reported only once
vd_ffmpeg.c:158: error: for each function it appears in.)
vd_ffmpeg.c: In function 'init':
vd_ffmpeg.c:223: warning: assignment discards qualifiers from pointer target type
vd_ffmpeg.c:239: warning: assignment from incompatible pointer type
vd_ffmpeg.c: In function 'init_vo':
vd_ffmpeg.c:497: error: 'PIX_FMT_XVMC_MPEG2_VLD' undeclared (first use in this function)
vd_ffmpeg.c: In function 'get_buffer':
vd_ffmpeg.c:580: warning: assignment from incompatible pointer type
vd_ffmpeg.c: In function 'decode':
vd_ffmpeg.c:706: warning: assignment from incompatible pointer type
vd_ffmpeg.c:850: warning: pointer targets in assignment differ in signedness
vd_ffmpeg.c: In function 'get_format':
vd_ffmpeg.c:872: warning: assignment from incompatible pointer type
vd_ffmpeg.c: In function 'mc_get_buffer':
vd_ffmpeg.c:908: warning: comparison of distinct pointer types lacks a cast
make[2]: *** [vd_ffmpeg.o] Error 1
make[2]: Leaving directory `/home/jan/Download/sources/svn/mplayer/libmpcodecs'
make[1]: *** [libmpcodecs/libmpcodecs.a] Fehler 2
make[1]: Leaving directory `/home/jan/Download/sources/svn/mplayer'

---

----

Reply Link: <http://wiki.openchrome.org/tikiwikitiki-view_forum_thread.php?forumId=1&comments_reply_threadId=1543&comments_parentId=1251&post_reply=1#form>





More information about the Openchrome-users mailing list