Ticket #7481: libavformat.diff

File libavformat.diff, 484 bytes (added by anonymous, 2 years ago)

patch to fix judder for german 720p HDTV channels (ARTE HD, ZDF HD, EinsFestival? HD)

  • utils.c

     
    800800    int num, den, presentation_delayed, delay, i; 
    801801    int64_t offset; 
    802802 
    803     if (pc && pc->pict_type == FF_B_TYPE) 
     803//    if (pc && pc->pict_type == FF_B_TYPE) 
     804    if (st->codec->codec_id != CODEC_ID_H264 && pc && pc->pict_type == FF_B_TYPE) 
    804805        st->codec->has_b_frames = 1; 
    805806 
    806807    /* do we have a video B-frame ? */