[svn] / trunk / vfw / src / codec.c Repository:
ViewVC logotype

Diff of /trunk/vfw/src/codec.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 102, Fri Apr 5 14:42:37 2002 UTC revision 105, Sat Apr 6 06:21:29 2002 UTC
# Line 332  Line 332 
332                  }                  }
333    
334                  codec->ehandle = NULL;                  codec->ehandle = NULL;
335    
336                    codec_2pass_finish(codec);
337          }          }
338    
339          return ICERR_OK;          return ICERR_OK;
# Line 375  Line 377 
377                  frame.hint.rawhints = 0;                  frame.hint.rawhints = 0;
378                  frame.general |= XVID_HINTEDME_GET;                  frame.general |= XVID_HINTEDME_GET;
379          }          }
380          else if (codec->config.mode == DLG_MODE_2PASS_2_EXT || codec->config.mode == DLG_MODE_2PASS_2_INT)          else if (codec->config.hinted_me && (codec->config.mode == DLG_MODE_2PASS_2_EXT || codec->config.mode == DLG_MODE_2PASS_2_INT))
381          {          {
382                  DWORD read;                  DWORD read;
383                  DWORD blocksize;                  DWORD blocksize;
# Line 479  Line 481 
481                  frame.intra = 1;                  frame.intra = 1;
482          }          }
483          else if ((codec->keyspacing < codec->config.min_key_interval && codec->framenum) &&          else if ((codec->keyspacing < codec->config.min_key_interval && codec->framenum) &&
484                  (codec->config.mode == DLG_MODE_2PASS_1))                  (codec->config.mode == DLG_MODE_2PASS_1 || codec->config.mode == DLG_MODE_CBR || codec->config.mode == DLG_MODE_VBR_QUANT ||
485                    codec->config.mode == DLG_MODE_VBR_QUAL || codec->config.mode == DLG_MODE_NULL))
486          {          {
487                  DEBUG("current frame forced to p-frame");                  DEBUG("current frame forced to p-frame");
488                  frame.intra = 0;                  frame.intra = 0;

Legend:
Removed from v.102  
changed lines
  Added in v.105

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4