306 |
if (codec->config.debug) param.global |= XVID_GLOBAL_DEBUG; |
if (codec->config.debug) param.global |= XVID_GLOBAL_DEBUG; |
307 |
param.max_bframes = codec->config.max_bframes; |
param.max_bframes = codec->config.max_bframes; |
308 |
param.bquant_ratio = codec->config.bquant_ratio; |
param.bquant_ratio = codec->config.bquant_ratio; |
309 |
|
param.frame_drop_ratio = codec->config.frame_drop_ratio; |
310 |
#endif |
#endif |
311 |
|
|
312 |
switch(xvid_encore(0, XVID_ENC_CREATE, ¶m, NULL)) |
switch(xvid_encore(0, XVID_ENC_CREATE, ¶m, NULL)) |
520 |
frame.bquant = 0; |
frame.bquant = 0; |
521 |
#endif |
#endif |
522 |
|
|
523 |
OutputDebugString(" "); |
// OutputDebugString(" "); |
524 |
switch (xvid_encore(codec->ehandle, XVID_ENC_ENCODE, &frame, &stats)) |
switch (xvid_encore(codec->ehandle, XVID_ENC_ENCODE, &frame, &stats)) |
525 |
{ |
{ |
526 |
case XVID_ERR_FAIL : |
case XVID_ERR_FAIL : |