[MPlayer-dev-eng] [PATCH] Have DivX & Xvid codecs in the same

Ivan Kalvachev ivan at cacad.com
Sun Feb 2 18:20:08 CET 2003


Kim Minh Kaplan said:
> Arpi writes:
>
>> I don't really understand the need of this new configure option. if
>> divx4/5 is avail (and no --disable-divx4 given) then -ovc divx4 (and
>> vd_divx4) should use it. otherwise tehy shoudl use xvid.
>
> I mostly agree with you.  I just put the configure option for full
> backward compatibility.  But then I'll just remove it and do as you
> suggest.
>
> Kim Minh.

If you want to do even more...
XviD (even the latest development version) contains and divx4/5 emulation
API that colides with the real divx4linux. Fortunatly this API could be
removed as it is only one C file.
I suggest you to make a check this way: if divx4.h is available in the
system this will mean that xvid is compiled with divx4 emulation. If
divx4.h is missing and xvid.h is present this will meen that clean xvid
api is usable. Just FYI The divx4linux include files are named encore.h
and decore.h or something like that..

Best Regards
  Ivan Kalvachev




More information about the MPlayer-dev-eng mailing list