--- branches/dev-api-4/xvidcore/examples/xvid_encraw.c 2003/12/16 09:24:48 1264 +++ branches/dev-api-4/xvidcore/examples/xvid_encraw.c 2003/12/17 08:38:06 1265 @@ -21,7 +21,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id: xvid_encraw.c,v 1.11.2.39 2003-12-16 09:24:48 chl Exp $ + * $Id: xvid_encraw.c,v 1.11.2.40 2003-12-17 08:38:06 chl Exp $ * ****************************************************************************/ @@ -1094,8 +1094,6 @@ /* Set up core's general features */ xvid_enc_frame.vop_flags = vop_presets[ARG_QUALITY]; - if (ARG_GMC) - xvid_enc_frame.vol_flags |= XVID_ME_GME_REFINE; if (ARG_VOPDEBUG) { xvid_enc_frame.vop_flags |= XVID_VOP_DEBUG; @@ -1110,6 +1108,9 @@ /* Set up motion estimation flags */ xvid_enc_frame.motion = motion_presets[ARG_QUALITY]; + if (ARG_GMC) + xvid_enc_frame.motion |= XVID_ME_GME_REFINE; + if (ARG_QPEL) xvid_enc_frame.motion |= XVID_ME_QUARTERPELREFINE16; if (ARG_QPEL && (xvid_enc_frame.vop_flags & XVID_VOP_INTER4V))