[MPlayer-dev-eng] [PATCH] XviD profile support

Guillaume POIRIER poirierg at gmail.com
Sun Sep 18 17:51:33 CEST 2005


Hi,

On 9/18/05, Oded Shimon <ods15 at ods15.dyndns.org> wrote:
> On Sat, Sep 17, 2005 at 11:25:41PM +0200, eviv bulgroz wrote:
> > Guillaume POIRIER wrote:
> >
> > >Applied.
> > >
> > >
> > >
> > Unfortunately this patch requires a pretty recent xvid release and this
> > isn't detected by configure and/or proper #ifdefing.
> > This what you get when you try to compile it with latest stable
> > xvidcore-1.0.3:
> >
> > cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O4
> > -march=athlon-4 -mtune=athlon-4 -pipe -ffast-math -fomit-frame-pointer
> > -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I. -Inative
> > -I.. -I../libmpdemux -I../loader    -D_GNU_SOURCE -o ve_xvid4.o ve_xvid4.c
> > ve_xvid4.c: In function 'profileFromName':
> > ve_xvid4.c:223: warning: initialization discards qualifiers from pointer
> > target type
> > ve_xvid4.c: In function 'dispatch_settings':
> > ve_xvid4.c:806: error: 'XVID_GLOBAL_DIVX5_USERDATA' undeclared (first
> > use in this function)
> > ve_xvid4.c:806: error: (Each undeclared identifier is reported only once
> 
> To anyone who cares, I second this protest. please fix, MPlayer doesn't
> compile...
> 
> ve_xvid4.c:806: error: `XVID_GLOBAL_DIVX5_USERDATA' undeclared (first use
> in this function)
> ve_xvid4.c:806: error: (Each undeclared identifier is reported only once
> ve_xvid4.c:806: error: for each function it appears in.)
> ve_xvid4.c:844: error: structure has no member named `vbv_size'
> ve_xvid4.c:845: error: structure has no member named `vbv_initial'

Would the attached patch fix the problem? Does it seems acceptable
(though it would required the man page entry about profiles to be
modified to tell that profiles are only fully supported with xvid
1.1.x) ?

If it doesn't work, please post the errors that you get with it...

Guillaume
-- 
Reading doesn't hurt, really!
  -- Dominik 'Rathann' Mierzejewski
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xvid4_fix.patch
Type: application/octet-stream
Size: 1107 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20050918/7a534472/attachment.obj>


More information about the MPlayer-dev-eng mailing list