comparison rv10.c @ 2628:511e3afc43e1 libavcodec

Ministry of English Composition, reporting for duty (and the word is "skipped", not "skiped"; "skiped" would rhyme with "hyped")
author melanson
date Sun, 24 Apr 2005 17:21:11 +0000
parents 308e8bdf5921
children 026c1600b532
comparison
equal deleted inserted replaced
2627:bf158d23bbcc 2628:511e3afc43e1
466 s->last_non_b_time= s->time; 466 s->last_non_b_time= s->time;
467 }else{ 467 }else{
468 s->time= seq; 468 s->time= seq;
469 s->pb_time= s->pp_time - (s->last_non_b_time - s->time); 469 s->pb_time= s->pp_time - (s->last_non_b_time - s->time);
470 if(s->pp_time <=s->pb_time || s->pp_time <= s->pp_time - s->pb_time || s->pp_time<=0){ 470 if(s->pp_time <=s->pb_time || s->pp_time <= s->pp_time - s->pb_time || s->pp_time<=0){
471 av_log(s->avctx, AV_LOG_DEBUG, "messed up order, seeking?, skiping current b frame\n"); 471 av_log(s->avctx, AV_LOG_DEBUG, "messed up order, possible from seeking? skipping current b frame\n");
472 return FRAME_SKIPED; 472 return FRAME_SKIPPED;
473 } 473 }
474 } 474 }
475 } 475 }
476 // printf("%d %d %d %d %d\n", seq, (int)s->time, (int)s->last_non_b_time, s->pp_time, s->pb_time); 476 // printf("%d %d %d %d %d\n", seq, (int)s->time, (int)s->last_non_b_time, s->pp_time, s->pb_time);
477 /*for(i=0; i<32; i++){ 477 /*for(i=0; i<32; i++){