Revision 8c3eba7c libavcodec/svq3.c

View differences:

libavcodec/svq3.c
896 896
  if (avctx->hurry_up && s->pict_type == B_TYPE) return 0;
897 897
  /* skip everything if we are in a hurry >= 5 */
898 898
  if (avctx->hurry_up >= 5) return 0;
899
  if(  (avctx->skip_frame >= AVDISCARD_NONREF && s->pict_type==B_TYPE)
900
     ||(avctx->skip_frame >= AVDISCARD_NONKEY && s->pict_type!=I_TYPE)
901
     || avctx->skip_frame >= AVDISCARD_ALL)
902
      return 0;
899 903

  
900 904
  if (s->next_p_frame_damaged) {
901 905
    if (s->pict_type == B_TYPE)

Also available in: Unified diff