[svn] / branches / dev-api-3 / vfw / src / codec.c Repository:
ViewVC logotype

Diff of /branches/dev-api-3/vfw/src/codec.c

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

revision 108, Sun Apr 7 11:57:47 2002 UTC revision 109, Mon Apr 8 12:51:41 2002 UTC
# Line 254  Line 254 
254          case DLG_MODE_2PASS_2_INT :          case DLG_MODE_2PASS_2_INT :
255          case DLG_MODE_2PASS_2_EXT :          case DLG_MODE_2PASS_2_EXT :
256                  param.bitrate = 0;                  param.bitrate = 0;
257                    codec->twopass.max_framesize = (int)((double)codec->config.twopass_max_bitrate / 8.0 / ((double)codec->fbase / (double)codec->fincr));
258                  break;                  break;
259    
260          case DLG_MODE_NULL :          case DLG_MODE_NULL :
# Line 480  Line 481 
481          {          {
482                  frame.intra = 1;                  frame.intra = 1;
483          }          }
484          else if ((codec->keyspacing < codec->config.min_key_interval && codec->framenum) &&          else if (codec->keyspacing < codec->config.min_key_interval && codec->framenum)
                 (codec->config.mode == DLG_MODE_2PASS_1 || codec->config.mode == DLG_MODE_CBR || codec->config.mode == DLG_MODE_VBR_QUANT ||  
                 codec->config.mode == DLG_MODE_VBR_QUAL || codec->config.mode == DLG_MODE_NULL))  
485          {          {
486                  DEBUG("current frame forced to p-frame");                  DEBUG("current frame forced to p-frame");
487                  frame.intra = 0;                  frame.intra = 0;

Legend:
Removed from v.108  
changed lines
  Added in v.109

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