[MPlayer-dev-eng] small question regarding ve_lavc.c

Michael Niedermayer michaelni at gmx.at
Mon Oct 21 12:43:17 CEST 2002


Hi

On Monday 21 October 2002 10:14, Moritz Bunkus wrote:
> Hi.
>
> Upon re-integrating ffmpeg support into transcode (don't beat me, this
> is not a religious war :)) I stumbled over the following in ve_lavc.c:
>
> #ifdef ME_ZERO
>     // workaround Juanjo's stupid incompatible change:
>     motion_estimation_method = lavc_param_vme;
> #else
>     lavc_venc_context.me_method = ME_ZERO+lavc_param_vme;
> #endif
>
> Hm... This is obviously not correct that way. What was its intention?
> How should it read correctly?
it is correct, it was because juanjo decided to change the numbers for the ME 
algorithms (and move ME_ZERO from #define to enum), this just reverses the 
change ...

Michael 



More information about the MPlayer-dev-eng mailing list