Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 110158 - mplayer won't compile with recent versions of x264-svn
Summary: mplayer won't compile with recent versions of x264-svn
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-22 10:20 UTC by Matteo Settenvini
Modified: 2005-11-09 04:34 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matteo Settenvini 2005-10-22 10:20:38 UTC
As you can see below, mplayer won't compile with x254-svn-20051004-r1 installed.
Unmerging it fixes this. Maybe we want to explicitly disable x264 support in
mplayer's configure (through mplayer ebuild), until it works again?

-----

[...]
In file included from ve_qtvideo.c:20:
../loader/qtx/qtxsdk/components.h: In function `dump_CodecDecompressParams':
../loader/qtx/qtxsdk/components.h:724: warning: initialization from incompatible
 pointer type
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O4 -march=pentium4
 -mtune=pentium4 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFIL
E_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include/gtk-1.2 -I/
usr/include/glib-1.2 -I/usr/lib/glib/include -I. -Inative -I.. -I../libmpdemux -
I../loader -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/includ
e  -D_GNU_SOURCE -o ve_nuv.o ve_nuv.c
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O4 -march=pentium4
 -mtune=pentium4 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFIL
E_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include/gtk-1.2 -I/
usr/include/glib-1.2 -I/usr/lib/glib/include -I. -Inative -I.. -I../libmpdemux -
I../loader -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/includ
e  -D_GNU_SOURCE -o ve_x264.o ve_x264.c
ve_x264.c: In function `config':
ve_x264.c:141: error: structure has no member named `i_idrframe'
ve_x264.c:142: error: structure has no member named `i_iframe'
ve_x264.c:197: error: structure has no member named `i_rc_buffer_size'
ve_x264.c:198: error: structure has no member named `i_rc_init_buffer'
ve_x264.c:199: error: structure has no member named `i_rc_sens'
ve_x264.c: In function `put_image':
ve_x264.c:306: error: too few arguments to function `x264_encoder_encode'
make[1]: *** [ve_x264.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/mplayer-1.0_pre6-r6/work/MPlayer-1.
0pre6a/libmpcodecs'
make: *** [libmpcodecs/libmpcodecs.a] Error 2

!!! ERROR: media-video/mplayer-1.0_pre6-r6 failed.
!!! Function src_compile, Line 506, Exitcode 2
Comment 1 Ulrich Plate (RETIRED) gentoo-dev 2005-11-05 08:46:45 UTC
Same problem here. The only package besides Mplayer that pulls in x264-svn is
cinelerra-cvs, which is interesting because libx264 is omitted even from the VLC
ebuild (where it would certainly feel at home) "due to needed testing". I don't
know what you mean by "recent versions", since x264-svn was only just introduced
to Portage, with -20051004-r1 its initial import, but I'd expect that the
canonical way to go about this is to introduce an H264 USE flag, right?
Comment 2 A. Keet 2005-11-06 13:15:54 UTC
A workaround is described here:
http://forums.gentoo.org/viewtopic-t-377690.html
Comment 3 Luca Barbato gentoo-dev 2005-11-09 04:34:31 UTC
x264 is explicitly disabled.